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

+ 1 - 1
src/common/fxt.c

@@ -65,7 +65,7 @@ long _starpu_gettid(void)
 	long tid;
 	long tid;
 	thr_self(&tid);
 	thr_self(&tid);
 	return tid;
 	return tid;
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#elif defined(_WIN32) && !defined(__CYGWIN__)
 	return (long) GetCurrentThreadId();
 	return (long) GetCurrentThreadId();
 #else
 #else
 	return (long) pthread_self();
 	return (long) pthread_self();