Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove an old cruft from MS Visual
[simgrid.git] / tools / cmake / test_prog / prog_thread_storage.c
index f83977e..e79536e 100644 (file)
@@ -6,12 +6,7 @@
 
 #include <stdio.h>
 
-#ifdef _MSC_VER
-__declspec(thread)
-#else
-__thread 
-#endif
-int thread_specific_variable = 0;
+__thread int thread_specific_variable = 0;
 
 int main(void) {
   thread_specific_variable++;