From 45e6ef2f9f1dfd7d262883742cc0d1902bdb5ffb Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sun, 19 Aug 2007 01:51:34 +0000 Subject: [PATCH] (getopt) [_WIN32]: Only getopt.c for MSC. MinGW has getopt() in the library. --- src/lib/w32/getopt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/w32/getopt.c b/src/lib/w32/getopt.c index 361462ef..ee23f4b1 100644 --- a/src/lib/w32/getopt.c +++ b/src/lib/w32/getopt.c @@ -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 */