X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7410b72db09489e8b9d3ee3cb087f35882397d93..611d822b02f836d7abe031cced6adc4281ef4356:/tools/cmake/test_prog/prog_thread_storage.c diff --git a/tools/cmake/test_prog/prog_thread_storage.c b/tools/cmake/test_prog/prog_thread_storage.c index f83977ed48..1ed7fac9b4 100644 --- a/tools/cmake/test_prog/prog_thread_storage.c +++ b/tools/cmake/test_prog/prog_thread_storage.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2011, 2013-2014. The SimGrid Team. +/* Copyright (c) 2010-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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++;