Browse Source

fix build

Samuel Thibault 11 years ago
parent
commit
8ba2bf5419
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/fxt.c

+ 1 - 1
src/common/fxt.c

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