From: Martin Quinson Date: Sat, 16 Apr 2016 20:22:48 +0000 (+0200) Subject: remove an old cruft from MS Visual X-Git-Tag: v3_13~89 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/216273c918f52e722e4d3296b4d0ebd216bfd495 remove an old cruft from MS Visual --- diff --git a/tools/cmake/test_prog/prog_thread_storage.c b/tools/cmake/test_prog/prog_thread_storage.c index f83977ed48..e79536e41b 100644 --- a/tools/cmake/test_prog/prog_thread_storage.c +++ b/tools/cmake/test_prog/prog_thread_storage.c @@ -6,12 +6,7 @@ #include -#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++;