Merge pull request #321 from TsudaKageyu/nominmax

Fixed warnings in MinGW
This commit is contained in:
Stephen F. Booth 2013-11-23 19:24:55 -08:00
commit 5593c251c8

View File

@ -33,7 +33,9 @@
# include <libkern/OSAtomic.h>
# define TAGLIB_ATOMIC_MAC
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# define NOMINMAX
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <windows.h>
# define TAGLIB_ATOMIC_WIN
#elif defined (__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 401) \