ソースを参照

forgot HAVE_GETOPT_H

David Rose 16 年 前
コミット
c30ae4fc99

+ 1 - 1
direct/src/plugin_standalone/panda3d.cxx

@@ -30,7 +30,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
dtool/LocalSetup.pp

@@ -511,7 +511,7 @@ $[cdefine HAVE_GETOPT]
 $[cdefine HAVE_GETOPT_LONG_ONLY]
 
 /* Define if getopt appears in getopt.h.  */
-$[cdefine HAVE_GETOPT_H]
+$[cdefine PHAVE_GETOPT_H]
 
 /* Define if you have ioctl(TIOCGWINSZ) to determine terminal width. */
 $[cdefine IOCTL_TERMINAL_WIDTH]

+ 1 - 1
dtool/src/interrogate/interrogate.cxx

@@ -25,7 +25,7 @@
 #ifndef HAVE_GETOPT_LONG_ONLY
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
dtool/src/interrogate/parse_file.cxx

@@ -27,7 +27,7 @@
 #ifndef HAVE_GETOPT_LONG_ONLY
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
dtool/src/prckeys/makePrcKey.cxx

@@ -32,7 +32,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
dtool/src/prckeys/signPrcFile_src.cxx

@@ -32,7 +32,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
dtool/src/test_interrogate/test_interrogate.cxx

@@ -25,7 +25,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
panda/src/downloadertools/pdecrypt.cxx

@@ -19,7 +19,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
panda/src/downloadertools/pencrypt.cxx

@@ -19,7 +19,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
panda/src/downloadertools/punzip.cxx

@@ -19,7 +19,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
panda/src/downloadertools/pzip.cxx

@@ -19,7 +19,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif

+ 1 - 1
panda/src/testbed/pview.cxx

@@ -32,7 +32,7 @@
 #ifndef HAVE_GETOPT
   #include "gnu_getopt.h"
 #else
-  #ifdef HAVE_GETOPT_H
+  #ifdef PHAVE_GETOPT_H
     #include <getopt.h>
   #endif
 #endif