Browse Source

workaround broken getopt issue

David Rose 15 years ago
parent
commit
dab54029a4
2 changed files with 4 additions and 2 deletions
  1. 2 1
      dtool/src/dtoolutil/gnu_getopt.c
  2. 2 1
      dtool/src/dtoolutil/gnu_getopt1.c

+ 2 - 1
dtool/src/dtoolutil/gnu_getopt.c

@@ -53,7 +53,8 @@
    program understand `configure --with-gnu-libc' and omit the object files,
    it is simpler to just do this in the source for each such file.  */
 
-#if defined (_LIBC) || !defined (__GNU_LIBRARY__)
+/* Actually, we may need to compile this anyway, even on a gnu platform. */
+#if 1 /* defined (_LIBC) || !defined (__GNU_LIBRARY__) */
 
 
 /* This needs to come after some library #include

+ 2 - 1
dtool/src/dtoolutil/gnu_getopt1.c

@@ -44,7 +44,8 @@
    program understand `configure --with-gnu-libc' and omit the object files,
    it is simpler to just do this in the source for each such file.  */
 
-#if defined (_LIBC) || !defined (__GNU_LIBRARY__)
+/* Actually, we may need to compile this anyway, even on a gnu platform. */
+#if 1 /* defined (_LIBC) || !defined (__GNU_LIBRARY__) */
 
 
 /* This needs to come after some library #include