diff options
| -rw-r--r-- | demos/tri.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/tri.c b/demos/tri.c index 4699f263..ec8e6e07 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -33,16 +33,16 @@ * should. It also does no error checking. */ +#ifndef _MSC_VER +#define _ISOC11_SOURCE /* for aligned_alloc() */ +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <assert.h> -#ifndef _MSC_VER -#define _ISOC11_SOURCE /* for aligned_alloc() */ -#endif - #ifdef _WIN32 #pragma comment(linker, "/subsystem:windows") #define APP_NAME_STR_LEN 80 |
