Remove unused MSC_VERSION_SINCE and MSC_VERSION_BEFORE

The last use went away in cdb9893c55.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hiroshi SHIBATA 2026-09-25 16:39:46 +09:00
parent 62e374e9ef
commit 0fb144a7d9
Notes: git 2026-09-26 03:43:08 +00:00
3 changed files with 2 additions and 5 deletions

View File

@ -28,7 +28,7 @@
#include "ruby/internal/config.h"
#include <limits.h> /* for CHAR_BITS */
#include <stdint.h> /* for uintptr_t */
#include "internal/compilers.h" /* for MSC_VERSION_SINCE */
#include "internal/compilers.h" /* for __has_builtin */
#ifdef _MSC_VER
# include <stdlib.h> /* for _byteswap_uint64 */

View File

@ -18,9 +18,6 @@
#include "ruby/internal/has/warning.h"
#include "ruby/backward/2/gcc_version_since.h"
#define MSC_VERSION_SINCE(_) RBIMPL_COMPILER_SINCE(MSVC, (_) / 100, (_) % 100, 0)
#define MSC_VERSION_BEFORE(_) RBIMPL_COMPILER_BEFORE(MSVC, (_) / 100, (_) % 100, 0)
#ifndef __has_attribute
# define __has_attribute(...) RBIMPL_HAS_ATTRIBUTE(__VA_ARGS__)
#endif

View File

@ -28,7 +28,7 @@
#include "ruby/internal/config.h"
#include <limits.h> /* for CHAR_BITS */
#include <stdint.h> /* for uintptr_t */
#include "internal/compilers.h" /* for MSC_VERSION_SINCE */
#include "internal/compilers.h" /* for __has_builtin */
#ifdef _MSC_VER
# include <stdlib.h> /* for _byteswap_uint64 */