There was an error while loading. Please reload this page.
1 parent 118c85f commit 9a6b009Copy full SHA for 9a6b009
1 file changed
include/Ark/Utils/Platform.hpp
@@ -17,10 +17,12 @@
17
# define ARK_OS_LINUX
18
#endif
19
20
-#if defined(__GNUC__) || defined(__clang__)
21
-# define ARK_ALWAYS_INLINE __attribute__((always_inline))
22
-#elif defined(_MSC_VER) && !defined(__clang__)
23
-# define ARK_ALWAYS_INLINE __forceinline
+#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
+# if defined(__GNUC__) || defined(__clang__)
+# define ARK_ALWAYS_INLINE __attribute__((always_inline))
+# elif defined(_MSC_VER) && !defined(__clang__)
24
+# define ARK_ALWAYS_INLINE __forceinline
25
+# endif
26
#else
27
# define ARK_ALWAYS_INLINE
28
0 commit comments