Переглянути джерело

just don't use keep alive at all for static build

pmp-p 2 роки тому
батько
коміт
2157523313
2 змінених файлів з 1 додано та 4 видалено
  1. 1 1
      include/pocketpy/export.h
  2. 0 3
      include/pocketpy/pocketpy_c.h

+ 1 - 1
include/pocketpy/export.h

@@ -5,7 +5,7 @@
     #define PK_EXPORT __declspec(dllexport)
     #define PK_SYS_PLATFORM     0
 #elif __EMSCRIPTEN__
-    #define PK_EXPORT EMSCRIPTEN_KEEPALIVE
+    #define PK_EXPORT
     #define PK_SYS_PLATFORM     1
 #elif __APPLE__
     #include <TargetConditionals.h>

+ 0 - 3
include/pocketpy/pocketpy_c.h

@@ -2,9 +2,6 @@
 #define POCKETPY_C_H
 
 #ifdef __cplusplus
-#if __EMSCRIPTEN__
-#include <emscripten.h>
-#endif
 extern "C" {
 #endif