Browse Source

Disable HAVE_UCONTEXT_H on OSX, it doesn't seem to be stable

rdb 16 years ago
parent
commit
c544c10fbf
1 changed files with 3 additions and 1 deletions
  1. 3 1
      makepanda/makepanda.py

+ 3 - 1
makepanda/makepanda.py

@@ -956,7 +956,9 @@ def WriteConfigSettings():
         dtool_config["HAVE_PROC_SELF_MAPS"] = 'UNDEF'
         dtool_config["HAVE_PROC_SELF_MAPS"] = 'UNDEF'
         dtool_config["HAVE_PROC_SELF_CMDLINE"] = 'UNDEF'
         dtool_config["HAVE_PROC_SELF_CMDLINE"] = 'UNDEF'
         dtool_config["HAVE_PROC_SELF_ENVIRON"] = 'UNDEF'
         dtool_config["HAVE_PROC_SELF_ENVIRON"] = 'UNDEF'
-        # OSX still doesn't always recognize the <auto> correctly.
+        # OSX has ucontext.h, but it doesn't seem to be stable somehow.
+        dtool_config["HAVE_UCONTEXT_H"] = 'UNDEF'
+        # OSX still doesn't always recognize the <auto> correctly. Might have been fixed by now though.
         prc_parameters["DEFAULT_PRC_DIR"] = '"/Applications/Panda3D/' + VERSION + '/etc"'
         prc_parameters["DEFAULT_PRC_DIR"] = '"/Applications/Panda3D/' + VERSION + '/etc"'
     
     
     if (OPTIMIZE <= 3):
     if (OPTIMIZE <= 3):