mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
patch from christian, #undef swap16
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
|
||||
static FLAC__bool is_big_endian_host;
|
||||
|
||||
/* some flavors of UNIX #define this */
|
||||
#ifdef swap16
|
||||
#undef swap16
|
||||
#endif
|
||||
static void swap16(FLAC__int16 *i)
|
||||
{
|
||||
unsigned char *x = (unsigned char *)i, b;
|
||||
|
||||
Reference in New Issue
Block a user