diff options
| author | Mark Young <marky@lunarg.com> | 2016-01-26 13:41:18 -0700 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2016-01-26 13:46:59 -0700 |
| commit | 33b3c6ea565c9121c1933ff8fe499aee601051fb (patch) | |
| tree | 3628a60f14237ce417a4fdd27216ac9943966a42 | |
| parent | 6dcfe83d35132a8956c009e4d7d544408f8d31e6 (diff) | |
| download | usermoji-33b3c6ea565c9121c1933ff8fe499aee601051fb.tar.xz | |
loader: Fixed missing #define needed by aligned_alloc.
This fixes the missing #define so Linux should build without warning.
| -rw-r--r-- | demos/tri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/tri.c b/demos/tri.c index 45020889..4699f263 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -39,6 +39,10 @@ #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 |
