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 SHIBATAandClaude Opus 5.5 committed 2026-09-26 12:42:26 +09:00
1 parent 62e374e9ef
commit 0fb144a7d9
3 files changed
+2 -5
Notes: git 2026-09-26 03:43:08 +00:00

No files matched your search

+1 -1
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 */
-3
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
+1 -1
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 */