Browse Source

compile on win32

David Rose 21 years ago
parent
commit
d392ed83a5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      panda/src/glstuff/glpure.cxx

+ 3 - 0
panda/src/glstuff/glpure.cxx

@@ -22,5 +22,8 @@
 // It exists just so we can have some symbols and make the compiler
 // It exists just so we can have some symbols and make the compiler
 // happy.
 // happy.
 
 
+#if defined(WIN32_VC) && !defined(CPPPARSER) && !defined(LINK_ALL_STATIC)
+__declspec(dllexport)
+#endif
 int glpure;
 int glpure;