diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-02-12 20:44:37 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-02-12 20:44:37 +0000 |
commit | eae74c7acfa484868f5374f8f0ebff1eb39d1c61 (patch) | |
tree | b2ce4f2f26c00e5be74fd4c55a737ca7bed39da7 /lib/util | |
parent | 47e6714f1bb9be3587d5c76d5638887b595e6355 (diff) | |
download | netpbm-mirror-eae74c7acfa484868f5374f8f0ebff1eb39d1c61.tar.gz netpbm-mirror-eae74c7acfa484868f5374f8f0ebff1eb39d1c61.tar.xz netpbm-mirror-eae74c7acfa484868f5374f8f0ebff1eb39d1c61.zip |
redo conditional compilation of Windows stuff to use MSVCRT, based on _WIN32, instead of WIN32
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1644 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/nsleep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/util/nsleep.c b/lib/util/nsleep.c index d9fed571..24d48207 100644 --- a/lib/util/nsleep.c +++ b/lib/util/nsleep.c @@ -1,4 +1,6 @@ -#ifdef WIN32 +#include "pm_config.h" + +#if MSVCRT #include <windows.h> #include <process.h> #else @@ -12,7 +14,7 @@ void pm_sleep(unsigned int const milliseconds) { -#ifdef WIN32 +#if MSVCRT SleepEx(milliseconds, TRUE); #else |