Browse Source

remove dependency on HAVE_P3D_PLUGIN

David Rose 16 years ago
parent
commit
4e586c6e8d
1 changed files with 3 additions and 4 deletions
  1. 3 4
      panda/src/display/subprocessWindow.h

+ 3 - 4
panda/src/display/subprocessWindow.h

@@ -18,10 +18,9 @@
 #include "pandabase.h"
 #include "pandabase.h"
 
 
 // For now, a simple trigger whether to enable the subprocess window
 // For now, a simple trigger whether to enable the subprocess window
-// support.  We only build it on OSX, and only when the plugin is
-// enabled; because this is (presently) the only case where it's
-// useful.
-#if defined(HAVE_P3D_PLUGIN) && defined(IS_OSX)
+// support.  We only build it on OSX, because this is (presently) the
+// only case where it's useful.
+#ifdef IS_OSX
 #define SUPPORT_SUBPROCESS_WINDOW 1
 #define SUPPORT_SUBPROCESS_WINDOW 1
 #else
 #else
 #undef SUPPORT_SUBPROCESS_WINDOW
 #undef SUPPORT_SUBPROCESS_WINDOW