From 1a3d79ac919d2a8c96b982154c386a7250104283 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 7 Apr 2014 10:00:19 +0200 Subject: [PATCH 1/1] Since SG-java is now reintegrated into the main tree, this kind of test is not needed anymore. --- src/bindings/java/jmsg_process.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/bindings/java/jmsg_process.c b/src/bindings/java/jmsg_process.c index ed259b7440..7bb72ea46a 100644 --- a/src/bindings/java/jmsg_process.c +++ b/src/bindings/java/jmsg_process.c @@ -405,12 +405,5 @@ Java_org_simgrid_msg_Process_setKillTime (JNIEnv *env , jobject jprocess, jdoubl JNIEXPORT jint JNICALL Java_org_simgrid_msg_Process_getCount(JNIEnv * env, jclass cls) { - /* The next test on SimGrid version is to ensure that this still compiles with SG 3.8 while the C function were added in SG 3.9 only. - * This kind of pimple becomes mandatory when you get so slow to release the java version that it begins evolving further after the C release date. - */ -#if SIMGRID_VERSION >= 30900 return (jint) MSG_process_get_number(); -#else - return (jint) -1; -#endif } -- 2.20.1