Fix for new GME code.
This commit is contained in:
parent
a70f6b57a5
commit
8a2c48bbda
1 changed files with 4 additions and 0 deletions
|
@ -146,6 +146,10 @@ typedef unsigned char blargg_byte;
|
||||||
#undef byte
|
#undef byte
|
||||||
#define byte blargg_byte
|
#define byte blargg_byte
|
||||||
|
|
||||||
|
#ifndef _countof
|
||||||
|
#define _countof(x) (sizeof((x))/sizeof((x)[0]))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef BLARGG_EXPORT
|
#ifndef BLARGG_EXPORT
|
||||||
#if defined (_WIN32) && BLARGG_BUILD_DLL
|
#if defined (_WIN32) && BLARGG_BUILD_DLL
|
||||||
#define BLARGG_EXPORT __declspec(dllexport)
|
#define BLARGG_EXPORT __declspec(dllexport)
|
||||||
|
|
Loading…
Reference in a new issue