summaryrefslogtreecommitdiff
path: root/include/ruby/internal/attr/restrict.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/attr/restrict.h')
-rw-r--r--include/ruby/internal/attr/restrict.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/attr/restrict.h b/include/ruby/internal/attr/restrict.h
index 3f4b7db165..3c69312504 100644
--- a/include/ruby/internal/attr/restrict.h
+++ b/include/ruby/internal/attr/restrict.h
@@ -30,7 +30,7 @@
/** Wraps (or simulates) `__declspec(restrict)` */
#if RBIMPL_COMPILER_SINCE(MSVC, 14, 0, 0)
-# define RBIMPL_ATTR_RESTRICT() __declspec(RBIMPL_TOKEN_PASTE(re, strict))
+# define RBIMPL_ATTR_RESTRICT() __declspec(re ## strict)
#elif RBIMPL_HAS_ATTRIBUTE(malloc)
# define RBIMPL_ATTR_RESTRICT() __attribute__((__malloc__))