remove dependency on HAVE_P3D_PLUGIN

This commit is contained in:
David Rose 2009-11-27 18:25:14 +00:00
parent a638ba2062
commit 4e586c6e8d

View File

@ -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 // support. We only build it on OSX, because this is (presently) the
// enabled; because this is (presently) the only case where it's // only case where it's useful.
// useful. #ifdef IS_OSX
#if defined(HAVE_P3D_PLUGIN) && defined(IS_OSX)
#define SUPPORT_SUBPROCESS_WINDOW 1 #define SUPPORT_SUBPROCESS_WINDOW 1
#else #else
#undef SUPPORT_SUBPROCESS_WINDOW #undef SUPPORT_SUBPROCESS_WINDOW