Selaa lähdekoodia

Temporary workaround

Josh Yelon 19 vuotta sitten
vanhempi
sitoutus
d1d9fe336e
1 muutettua tiedostoa jossa 27 lisäystä ja 0 poistoa
  1. 27 0
      panda/metalibs/pandaegg/pandaeggnopg.cxx

+ 27 - 0
panda/metalibs/pandaegg/pandaeggnopg.cxx

@@ -0,0 +1,27 @@
+// Filename: pandaegg.cxx
+// Created by:  drose (16May00)
+// 
+////////////////////////////////////////////////////////////////////
+
+#include "pandaegg.h"
+
+#include "config_egg.h"
+
+// By including checkPandaVersion.h, we guarantee that runtime
+// attempts to load libpandaegg.so/.dll will fail if they
+// inadvertently link with the wrong version of libdtool.so/.dll.
+
+#include "checkPandaVersion.h"
+
+////////////////////////////////////////////////////////////////////
+//     Function: init_libpandaegg
+//  Description: Initializes the library.  This must be called at
+//               least once before any of the functions or classes in
+//               this library can be used.  Normally it will be
+//               called by the static initializers and need not be
+//               called explicitly, but special cases exist.
+////////////////////////////////////////////////////////////////////
+void
+init_libpandaegg() {
+  init_libegg();
+}