We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c932d5b commit 6656678Copy full SHA for 6656678
lib/cext/include/ruby/internal/config.h
@@ -56,6 +56,11 @@
56
# define HAVE_VA_ARGS_MACRO
57
# else
58
# /* NG, not known. */
59
+// Always define HAVE_VA_ARGS_MACRO on TruffleRuby, as it leads to cleaner macros and more optimizations:
60
+// clang++ on macOS Ventura has __cplusplus defined as 199711 but it supports newer standards like c++11
61
+#ifdef TRUFFLERUBY
62
+#define HAVE_VA_ARGS_MACRO
63
+#endif
64
# endif
65
#endif
66
0 commit comments