Fix frame demo so that malloc is emulated as rand() needs it on some platforms

This commit is contained in:
inmarket 2015-11-27 10:16:40 +10:00
parent 0313756ea3
commit d60706032e
2 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,9 @@
//#define GFX_USE_OS_LINUX TRUE
//#define GFX_USE_OS_OSX TRUE
// Oops - rand() seems to use malloc()
#define GFX_EMULATE_MALLOC TRUE
///////////////////////////////////////////////////////////////////////////
// GDISP //
///////////////////////////////////////////////////////////////////////////

View file

@ -1,5 +1,5 @@
#include "gfx.h"
#include "stdio.h"
#include <stdlib.h>
static GListener gl;
static GHandle ghFrame1;