Compiler.h: work around clang 3.9 warning -Wexpansion-to-defined

Check {GCC,CLANG}_VERSION==0 or >0 instead of using defined(), which
may render undefined behavior.
This commit is contained in:
Max Kellermann
2016-08-23 09:55:59 +02:00
parent 093abaad29
commit b05beb000f
2 changed files with 4 additions and 3 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@ ver 0.19.19 (not yet released)
- wildmidi: support libWildMidi 0.4
* output
- pulse: support 32 bit, 24 bit and floating point playback
* fix clang 3.9 warnings
ver 0.19.18 (2016/08/05)
* decoder