DroidFish: Disabled the internal stockfish engine on Android 1.5, because it doesn't work there.

This commit is contained in:
Peter Osterlund
2012-01-07 02:54:50 +00:00
parent 6c85f9e0c1
commit 441b6bc59a
6 changed files with 37 additions and 20 deletions

View File

@@ -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);