Added Python (Thanks to Beholder) - it fails to build properly using my build system,
so there's a precompiled binary included, with a hack in Android.mk to make it work on NDK r4b
This commit is contained in:
12
project/jni/python/src/Python/getplatform.c
Normal file
12
project/jni/python/src/Python/getplatform.c
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
#ifndef PLATFORM
|
||||
#define PLATFORM "unknown"
|
||||
#endif
|
||||
|
||||
const char *
|
||||
Py_GetPlatform(void)
|
||||
{
|
||||
return PLATFORM;
|
||||
}
|
||||
Reference in New Issue
Block a user