Skip to content

Commit

Permalink
Add header for windows 32 and 64
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   include/Auxiliary/Timer.hpp
  • Loading branch information
franziska-wegner committed Jan 14, 2024
1 parent 10af72a commit 2eb5e44
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions include/Auxiliary/Timer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@

// Linux operation systems such as Debian, Ubuntu, Gentoo, Fedora, openSUSE, RedHat, or Centos
#if defined (__linux__)
#include <time.h>
#include <sys/time.h>
#include <time.h>
#include <sys/time.h>
// Apple and iOS
#elif defined(__APPLE__) && defined(__MACH__)
#include <mach/mach_time.h>
#include <mach/clock.h>
#include <mach/mach.h>
#include <mach/mach_time.h>
#include <mach/clock.h>
#include <mach/mach.h>
#elif defined (_WIN32) || defined (_WIN64)
#include <time.h>
#include <sys/time.h>
#include <windows.h>
#endif

namespace egoa::Auxiliary {
Expand Down

0 comments on commit 2eb5e44

Please sign in to comment.