[Box Backup-commit] COMMIT r2406 - box/trunk/lib/win32

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Mon Dec 8 22:11:22 GMT 2008


Author: chris
Date: 2008-12-08 22:11:21 +0000 (Mon, 08 Dec 2008)
New Revision: 2406

Modified:
   box/trunk/lib/win32/getopt_long.cpp
Log:
Only use replacement BSD getopt on Windows.


Modified: box/trunk/lib/win32/getopt_long.cpp
===================================================================
--- box/trunk/lib/win32/getopt_long.cpp	2008-12-06 10:58:04 UTC (rev 2405)
+++ box/trunk/lib/win32/getopt_long.cpp	2008-12-08 22:11:21 UTC (rev 2406)
@@ -69,7 +69,6 @@
 
 #if defined _MSC_VER || defined __MINGW32__
 #define	REPLACE_GETOPT		/* use this getopt as the system getopt(3) */
-#endif
 
 #ifdef REPLACE_GETOPT
 int	opterr = 1;		/* if error message should be printed */
@@ -548,3 +547,4 @@
 	    FLAG_PERMUTE|FLAG_LONGONLY));
 }
 
+#endif // defined _MSC_VER || defined __MINGW32__




More information about the Boxbackup-commit mailing list