Explorar o código

fix detection of HAVE_DECL_SMPI_PROCESS_SET_USER_DATA there too

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
5d9a5ac912
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/thread.c

+ 1 - 1
src/common/thread.c

@@ -242,7 +242,7 @@ int starpu_pthread_key_delete(starpu_pthread_key_t key)
 
 
 /* We need it only when using smpi */
 /* We need it only when using smpi */
 #pragma weak smpi_process_get_user_data
 #pragma weak smpi_process_get_user_data
-#if !HAVE_DECL_SMPI_PROCESS_SET_USER_DATA
+#if !defined(HAVE_DECL_SMPI_PROCESS_SET_USER_DATA)
 extern void *smpi_process_get_user_data();
 extern void *smpi_process_get_user_data();
 #endif
 #endif