summaryrefslogtreecommitdiff
path: root/include/ruby/3/attr/warning.h
diff options
context:
space:
mode:
-rw-r--r--include/ruby/3/attr/warning.h12
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
* @file
* @author Ruby developers <[email protected]>
* @copyright This file is a part of the programming language Ruby.
@@ -20,12 +22,10 @@
*/
/** Wraps (or simulates) `__attribute__((warning))` */
-#if defined(RUBY3_ATTR_WARNING)
-# /* Take that. */
-
-#elif RUBY3_HAS_ATTRIBUTE(warning)
# define RUBY3_ATTR_WARNING(msg) __attribute__((__warning__ msg))
-
#else
# define RUBY3_ATTR_WARNING(msg) /* void */
#endif