]> git.pond.sub.org Git - empserver/commitdiff
(getopt) [_WIN32]: Only getopt.c for MSC. MinGW has getopt()
authorRon Koenderink <rkoenderink@yahoo.ca>
Sun, 19 Aug 2007 01:51:34 +0000 (01:51 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sun, 19 Aug 2007 01:51:34 +0000 (01:51 +0000)
in the library.

src/lib/w32/getopt.c

index 361462ef5c2159c71bc33f5d27bd3a32fc96b7cf..ee23f4b1fae9da4931b707e7938af124f3777e5b 100644 (file)
@@ -1,3 +1,4 @@
+#ifdef _MSC_VER
 /* Getopt for GNU.
    NOTE: getopt is now part of the C library, so if you don't know what
    "Keep this file name-space clean" means, talk to drepper@gnu.org
@@ -985,3 +986,4 @@ getopt (argc, argv, optstring)
 }
 
 #endif /* Not ELIDE_CODE.  */
+#endif  /* _MSC_VER */