opnsense-ports/cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h
Franco Fichtner 82813a7fc7 */*: sync with upstream
Taken from: FreeBSD
2016-07-14 09:12:15 +02:00

13 lines
290 B
C

--- src/rtapi/rtapi_math.h.orig 2016-06-25 02:19:12 UTC
+++ src/rtapi/rtapi_math.h
@@ -79,7 +79,10 @@ extern __inline double fmin(double __y,
#endif
#else
+#pragma push_macro("value")
+#undef value
#include <math.h>
+#pragma pop_macro("value")
#endif
#include "rtapi_byteorder.h"