ericw-tools/patches/embree2.10.0.patch

14 lines
431 B
Diff

--- embree-2.10.0.x86_64.macosx/include/embree2/rtcore.h 2016-05-19 23:54:49.000000000 -0600
+++ embree-2.10.0.x86_64.macosx/include/embree2/rtcore.h 2016-06-28 15:32:56.000000000 -0600
@@ -50,6 +50,10 @@
#define RTCORE_DEPRECATED
#endif
+#if !defined(_WIN32)
+ #define __forceinline inline __attribute__((always_inline))
+#endif
+
/*! Embree API version */
#define RTCORE_VERSION_MAJOR 2
#define RTCORE_VERSION_MINOR 10