added checks to control compilation with emscripten

This commit is contained in:
Krasimir Angelov committed 2022-07-04 14:26:04 +02:00
1 parent feb9b3373f
commit 96304a52d1
2 files changed
+7

No files matched your search

+3
View File
@@ -132,6 +132,9 @@ typedef struct {
#elif defined(_WIN32)
#define LINT_BASE 1000000000
#define LINT_BASE_LOG 9
#elif defined(EMSCRIPTEN)
#define LINT_BASE 10000000000000000000UL
#define LINT_BASE_LOG 19
#else
#error "Unsupported platform"
#endif