X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=cbits%2FdirUtils.c;h=fdcdf295d3d3fe921081ceb0b466bc0f9a699a39;hb=0a41af38169035a4359c0c29bc1219af564dce64;hp=08ea54e550f3712c13fa3c1c6f3136d1aa153ff8;hpb=3bc707020c8d0f7a11b652c38d33f1d9c87d3ae7;p=ghc-base.git diff --git a/cbits/dirUtils.c b/cbits/dirUtils.c index 08ea54e..fdcdf29 100644 --- a/cbits/dirUtils.c +++ b/cbits/dirUtils.c @@ -8,13 +8,13 @@ // The following is required on Solaris to force the POSIX versions of // the various _r functions instead of the Solaris versions. -#ifdef solaris2_TARGET_OS +#ifdef solaris2_HOST_OS #define _POSIX_PTHREAD_SEMANTICS #endif #include "HsBase.h" -#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER) +#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER) #include static @@ -117,7 +117,7 @@ HsInt __hscore_renameFile( HsAddr src, HsAddr dest) { -#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER) +#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER) static int forNT = -1; /* ToDo: propagate error codes back */