mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
...
This commit is contained in:
parent
564e377349
commit
5616c87a23
@ -43,12 +43,19 @@
|
|||||||
#define DEBUG_NO_AUTO_GC 0
|
#define DEBUG_NO_AUTO_GC 0
|
||||||
#define DEBUG_GC_STATS 0
|
#define DEBUG_GC_STATS 0
|
||||||
|
|
||||||
#if (defined(__ANDROID__) && __ANDROID_API__ <= 22)
|
#ifdef __ANDROID__
|
||||||
|
#include <android/ndk-version.h>
|
||||||
|
|
||||||
|
#if __NDK_MAJOR__ <= 22
|
||||||
#define PK_ENABLE_OS 0
|
#define PK_ENABLE_OS 0
|
||||||
#else
|
#else
|
||||||
#define PK_ENABLE_OS 1
|
#define PK_ENABLE_OS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
#define PK_ENABLE_OS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
// This is the maximum number of arguments in a function declaration
|
// This is the maximum number of arguments in a function declaration
|
||||||
// including positional arguments, keyword-only arguments, and varargs
|
// including positional arguments, keyword-only arguments, and varargs
|
||||||
#define PK_MAX_CO_VARNAMES 255
|
#define PK_MAX_CO_VARNAMES 255
|
||||||
|
Loading…
x
Reference in New Issue
Block a user