Browse Source

it's p3dtoolconfig in ppremake too now, David

rdb 14 years ago
parent
commit
c76d2cd226
1 changed files with 0 additions and 15 deletions
  1. 0 15
      dtool/metalibs/dtoolconfig/pydtool.cxx

+ 0 - 15
dtool/metalibs/dtoolconfig/pydtool.cxx

@@ -2074,8 +2074,6 @@ static PyMethodDef python_simple_funcs[] = {
   { NULL, NULL }
 };
 
-// Makepanda builds the library as libp3dtoolconfig instead of libdtoolconfig.
-#ifdef MAKEPANDA
 #ifdef _WIN32
 extern "C" __declspec(dllexport) void initlibp3dtoolconfig();
 #else
@@ -2086,16 +2084,3 @@ void initlibp3dtoolconfig() {
   Py_InitModule("libp3dtoolconfig", python_simple_funcs);
 }
 
-#else  // MAKEPANDA
-
-#ifdef _WIN32
-extern "C" __declspec(dllexport) void initlibdtoolconfig();
-#else
-extern "C" void initlibdtoolconfig();
-#endif
-
-void initlibdtoolconfig() {
-  Py_InitModule("libdtoolconfig", python_simple_funcs);
-}
-#endif  // MAKEPANDA
-