about summary refs log tree commit diff
path: root/converter/other/fiasco/getopt.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-02-12 20:44:37 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-02-12 20:44:37 +0000
commiteae74c7acfa484868f5374f8f0ebff1eb39d1c61 (patch)
treeb2ce4f2f26c00e5be74fd4c55a737ca7bed39da7 /converter/other/fiasco/getopt.c
parent47e6714f1bb9be3587d5c76d5638887b595e6355 (diff)
downloadnetpbm-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 'converter/other/fiasco/getopt.c')
-rw-r--r--converter/other/fiasco/getopt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/converter/other/fiasco/getopt.c b/converter/other/fiasco/getopt.c
index f5baf7d3..2f45c7cc 100644
--- a/converter/other/fiasco/getopt.c
+++ b/converter/other/fiasco/getopt.c
@@ -73,8 +73,7 @@
 #include <unistd.h>
 #endif	/* GNU C library.  */
 
-#if defined (WIN32) && !defined (__CYGWIN32__)
-/* It's not Unix, really.  See?  Capital letters.  */
+#if MSVCRT
 #include <windows.h>
 #define getpid() GetCurrentProcessId()
 #endif