diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-07-13 09:18:47 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-07-13 09:18:47 +0000 |
| commit | a6e315222478e3f425cce3e5f06e5a92e85cb076 (patch) | |
| tree | efae5834f35e2bc2c9171b48e1725a62bf9559be /cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h | |
| parent | 320350cdc14a453939c7801ce738a6c0d38ac759 (diff) | |
Notes
Diffstat (limited to 'cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h')
| -rw-r--r-- | cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h b/cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h new file mode 100644 index 000000000000..8ae719885db9 --- /dev/null +++ b/cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__math.h @@ -0,0 +1,13 @@ +--- 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" |
