From 33b3c6ea565c9121c1933ff8fe499aee601051fb Mon Sep 17 00:00:00 2001 From: Mark Young Date: Tue, 26 Jan 2016 13:41:18 -0700 Subject: loader: Fixed missing #define needed by aligned_alloc. This fixes the missing #define so Linux should build without warning. --- demos/tri.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#ifndef _MSC_VER +#define _ISOC11_SOURCE /* for aligned_alloc() */ +#endif + #ifdef _WIN32 #pragma comment(linker, "/subsystem:windows") #define APP_NAME_STR_LEN 80 -- cgit v1.2.3