Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use std::atomic instead of __sync_fetch_and_add for portability
[simgrid.git] / include / xbt / base.h
index 54ab270..ae3f926 100644 (file)
 /* Microsoft wants to improve the code quality blah blah blah */
 /* See: https://msdn.microsoft.com/en-us/library/8ef0s5kh.aspx */
        /* warning C4996: '_strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. */
-       # define _CRT_NONSTDC_NO_WARNINGS
+       #define _CRT_NONSTDC_NO_WARNINGS
        /* warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. */
-       # define _CRT_SECURE_NO_WARNINGS
+       #define _CRT_SECURE_NO_WARNINGS
 #endif