ifformat.c: fix build under WIN32
This commit is contained in:
@@ -36,6 +36,14 @@
|
||||
#include "gfx2mem.h"
|
||||
#include "gfx2log.h"
|
||||
|
||||
#if defined(WIN32)
|
||||
#if defined(_MSC_VER)
|
||||
#define WIN32_BSWAP32 _byteswap_ulong
|
||||
#else
|
||||
#define WIN32_BSWAP32 __builtin_bswap32
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//////////////////////////////////// IFF ////////////////////////////////////
|
||||
/** @defgroup IFF Interchange File Format
|
||||
* @ingroup loadsaveformats
|
||||
|
||||
Reference in New Issue
Block a user