Skip to content

Commit

Permalink
Remove non windows include sys/time.h
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 2eb5e44 commit 1fceb2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/Auxiliary/Timer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
#include "Constants.hpp"
#include "Types.hpp"

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

Expand Down

0 comments on commit 1fceb2e

Please sign in to comment.