summaryrefslogtreecommitdiff
path: root/include/ruby/backward/rubysig.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-07-22 13:08:18 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-08-27 14:11:59 +0900
commit6ec6dd3ed741b1138300dce12dd9ca6aca092a2c (patch)
tree2dd4cbb6cedaf70d490d99970055d99074806179 /include/ruby/backward/rubysig.h
parent5ca7b6abdeb7a8359c5e831c4235215b535b8e27 (diff)
git rm include/ruby/backward/rubysig.h
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3343
Diffstat (limited to 'include/ruby/backward/rubysig.h')
-rw-r--r--include/ruby/backward/rubysig.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/ruby/backward/rubysig.h b/include/ruby/backward/rubysig.h
deleted file mode 100644
index b1645cdeb08..00000000000
--- a/include/ruby/backward/rubysig.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef RUBYSIG_H /*-*-C++-*-vi:se ft=cpp:*/
-#define RUBYSIG_H
-/**
- * @file
- * @author $Author$
- * @date Wed Aug 16 01:15:38 JST 1995
- * @copyright This file is a part of the programming language Ruby.
- * Permission is hereby granted, to either redistribute and/or
- * modify this file, provided that the conditions mentioned in the
- * file COPYING are met. Consult the file for details.
- */
-#if defined __GNUC__
-#warning rubysig.h is obsolete
-#elif defined _MSC_VER
-#pragma message("warning: rubysig.h is obsolete")
-#endif
-
-#include "ruby/ruby.h"
-
-#define RUBY_CRITICAL(statements) do {statements;} while (0)
-#define DEFER_INTS (0)
-#define ENABLE_INTS (1)
-#define ALLOW_INTS do {CHECK_INTS;} while (0)
-#define CHECK_INTS rb_thread_check_ints()
-
-#endif /* RUBYSIG_H */