Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
gcc defines __APPLE__, use this instead APPLE
authorStephane Genaud <genaud@unistra.fr>
Mon, 11 Jun 2012 07:52:17 +0000 (09:52 +0200)
committerStephane Genaud <genaud@unistra.fr>
Mon, 11 Jun 2012 07:55:01 +0000 (09:55 +0200)
src/smpi/smpi_c99.c

index 9d65579..3064783 100644 (file)
@@ -13,7 +13,7 @@ static void smpi_free_static(int status, void* arg) {
 
 void smpi_register_static(void* arg) {
 
-#ifndef APPLE
+#ifndef __APPLE__
 // FIXME
 // On Apple this error occurs:
 //     Undefined symbols for architecture x86_64: