mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-13 09:32:39 +01:00
DroidFish: Disabled the internal stockfish engine on Android 1.5, because it doesn't work there.
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
/*
|
||||
* Class: org_petero_droidfish_engine_NativeUtil
|
||||
* Class: org_petero_droidfish_engine_EngineUtil
|
||||
* Method: getNPhysicalProcessors
|
||||
* Signature: ()I
|
||||
*/
|
||||
extern "C" JNIEXPORT jint JNICALL Java_org_petero_droidfish_engine_NativeUtil_getNPhysicalProcessors
|
||||
extern "C" JNIEXPORT jint JNICALL Java_org_petero_droidfish_engine_EngineUtil_getNPhysicalProcessors
|
||||
(JNIEnv *, jclass)
|
||||
{
|
||||
return sysconf(_SC_NPROCESSORS_ONLN);
|
||||
|
||||
Reference in New Issue
Block a user