X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsUtils.c;h=af6890570747b5a26fcf6180be0b724c52d9f9e9;hb=8846139a7c82feabb39d9d68d194178f649699cd;hp=444c839e0df1c301d0616ab4cb339e12b18d44c4;hpb=1eb850d5c4e7b5a838119fe5cb561fbbaba01bf2;p=ghc-hetmet.git diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index 444c839..af68905 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -6,8 +6,7 @@ * * ---------------------------------------------------------------------------*/ -/* gettimeofday isn't POSIX */ -/* #include "PosixSource.h" */ +#include "PosixSource.h" #include "Rts.h" #include "RtsAPI.h" @@ -16,14 +15,7 @@ #include "Ticky.h" #ifdef HAVE_TIME_H -#ifdef solaris2_HOST_OS -// Solaris requires this to get access to the POSIX ctime_r() -#define _POSIX_PTHREAD_SEMANTICS -#endif #include -#ifdef solaris2_HOST_OS -#undef _POSIX_PTHREAD_SEMANTICS -#endif #endif #ifdef HAVE_FCNTL_H