mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
e8e809047b
- Support scons USES macro - Stage support PR: 185316 Submitted by: ports fury
18 lines
258 B
C
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
|
|
+
|