Browse Source

Missed out a tiny conditional

rdb 17 years ago
parent
commit
34538489ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/extensions_native/extension_native_helpers.py

+ 1 - 1
direct/src/extensions_native/extension_native_helpers.py

@@ -33,7 +33,7 @@ def Dtool_PreloadDLL(module):
     windows can't find DLLs - it can only find PYDs.  The
     windows can't find DLLs - it can only find PYDs.  The
     preloader is able to find DLLs."""
     preloader is able to find DLLs."""
 
 
-    if (sys.platform != "win32"):
+    if (sys.platform != "win32" and sys.platform != "darwin"):
         return
         return
     if (sys.modules.has_key(module)):
     if (sys.modules.has_key(module)):
         return
         return