mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
Merge pull request #193 from pmp-p/cpplinkage
ensure em_asm template get C++ linkage ( cmake builds )
This commit is contained in:
commit
2475d9b194
@ -5,8 +5,7 @@
|
|||||||
#define PK_EXPORT __declspec(dllexport)
|
#define PK_EXPORT __declspec(dllexport)
|
||||||
#define PK_SYS_PLATFORM 0
|
#define PK_SYS_PLATFORM 0
|
||||||
#elif __EMSCRIPTEN__
|
#elif __EMSCRIPTEN__
|
||||||
#include <emscripten.h>
|
#define PK_EXPORT
|
||||||
#define PK_EXPORT EMSCRIPTEN_KEEPALIVE
|
|
||||||
#define PK_SYS_PLATFORM 1
|
#define PK_SYS_PLATFORM 1
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
@ -31,4 +30,5 @@
|
|||||||
#else
|
#else
|
||||||
#define PK_EXPORT
|
#define PK_EXPORT
|
||||||
#define PK_SYS_PLATFORM 6
|
#define PK_SYS_PLATFORM 6
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user