| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 379260e commit 465d02b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,10 +5,11 @@ | |||
| 5 | 5 | #include <stdbool.h> | |
| 6 | 6 | #include "js_native_api_types.h" | |
| 7 | 7 | ||
| 8 | + // Use INT_MAX, this should only be consumed by the pre-processor anyway. | ||
| 9 | + #define NAPI_VERSION_EXPERIMENTAL 2147483647 | ||
| 8 | 10 | #ifndef NAPI_VERSION | |
| 9 | 11 | #ifdef NAPI_EXPERIMENTAL | |
| 10 | - // Use INT_MAX, this should only be consumed by the pre-processor anyway. | ||
| 11 | - #define NAPI_VERSION 2147483647 | ||
| 12 | + #define NAPI_VERSION NAPI_VERSION_EXPERIMENTAL | ||
| 12 | 13 | #else | |
| 13 | 14 | // The baseline version for N-API | |
| 14 | 15 | #define NAPI_VERSION 3 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments