diff options
-rw-r--r-- | include/ruby/3/has/c_attribute.h | 11 |
1 files changed, 6 insertions, 5 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,10 +22,7 @@ */ /** Wraps (or simulates) `__has_c_attribute`. */ -#if defined(RUBY3_HAS_C_ATTRIBUTE) -# /* Take that. */ - -#elif defined(__cplusplus) # /* Makes no sense. */ # define RUBY3_HAS_C_ATTRIBUTE(_) 0 @@ -35,3 +34,5 @@ # * lacks C2x attributes as well. Might change in future? */ # define RUBY3_HAS_C_ATTRIBUTE(_) 0 #endif |