src/test/SDL_test_log.c
changeset 10616 d17dd08640a4
parent 10609 d702ecbd8ba7
child 10643 930938c7ca82
     1.1 --- a/src/test/SDL_test_log.c	Tue Nov 15 01:24:58 2016 -0800
     1.2 +++ b/src/test/SDL_test_log.c	Tue Nov 15 01:30:08 2016 -0800
     1.3 @@ -26,7 +26,9 @@
     1.4  */
     1.5  
     1.6  /* quiet windows compiler warnings */
     1.7 -#define _CRT_SECURE_NO_WARNINGS
     1.8 +#if defined(_MSC_VER)
     1.9 +# define _CRT_SECURE_NO_WARNINGS
    1.10 +#endif
    1.11  
    1.12  #include "SDL_config.h"
    1.13