Browse Source

prc: Remove call to dlerror() for emscripten build

rdb 5 years ago
parent
commit
ef7c4b73d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/prc/configPageManager.cxx

+ 1 - 1
dtool/src/prc/configPageManager.cxx

@@ -132,7 +132,7 @@ reload_implicit_pages() {
   const BlobInfo *blobinfo = (const BlobInfo *)dlsym(dlopen(NULL, RTLD_NOW), "blobinfo");
 #endif
   if (blobinfo == nullptr) {
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
     // Clear the error flag.
     dlerror();
 #endif