Fix frame demo so that malloc is emulated as rand() needs it on some platforms
This commit is contained in:
parent
0313756ea3
commit
d60706032e
2 changed files with 4 additions and 1 deletions
|
@ -24,6 +24,9 @@
|
||||||
//#define GFX_USE_OS_LINUX TRUE
|
//#define GFX_USE_OS_LINUX TRUE
|
||||||
//#define GFX_USE_OS_OSX TRUE
|
//#define GFX_USE_OS_OSX TRUE
|
||||||
|
|
||||||
|
// Oops - rand() seems to use malloc()
|
||||||
|
#define GFX_EMULATE_MALLOC TRUE
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// GDISP //
|
// GDISP //
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "gfx.h"
|
#include "gfx.h"
|
||||||
#include "stdio.h"
|
#include <stdlib.h>
|
||||||
|
|
||||||
static GListener gl;
|
static GListener gl;
|
||||||
static GHandle ghFrame1;
|
static GHandle ghFrame1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue