1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/mixxx/files/patch-src__defs.h
Martin Wilke e8e809047b - Fix build with clang
- Support scons USES macro
- Stage support

PR:		185316
Submitted by:	ports fury
2014-02-27 14:08:14 +00:00

18 lines
258 B
C

--- src/defs.h.orig
+++ src/defs.h
@@ -87,6 +87,8 @@
#define math_min(a,b) (((a) < (b)) ? (a) : (b))
#endif
+#if !defined(__GNUC__)
+
// MSVC 2005/2008 needs these
#ifndef fmax
#define fmax math_max
@@ -98,3 +100,5 @@
#endif
+#endif
+