OSX/Mac buildfix changes to GBALink
git-svn-id: https://svn.code.sf.net/p/vbam/code/branches/bgk-link@1149 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
08d2a4aefd
commit
37ecc2e8ff
|
@ -1,9 +1,15 @@
|
|||
// This file was written by denopqrihg
|
||||
// with major changes by tjm
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
|
||||
// malloc.h does not seem to exist on Mac OS 10.7
|
||||
#ifdef __APPLE__
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue