aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/string.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h
index 9dae6af..92a91c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -809,8 +809,9 @@ void* memchr(const void*, int, size_t)
*/
void* rawmemchr(const void*, int)
__GCC_ONLY(__attribute__((warn_unused_result, returns_nonnull, nonnull, pure)));
-#ifdef __CONST_CORRECT
-# define rawmemchr(...) (__const_correct(rawmemchr, __VA_ARGS__))
+# ifdef __CONST_CORRECT
+# define rawmemchr(...) (__const_correct(rawmemchr, __VA_ARGS__))
+# endif
#endif
/**