We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8367b16 commit b8504c2Copy full SHA for b8504c2
ext/openssl/ossl.h
@@ -17,6 +17,12 @@
17
#include <errno.h>
18
#include <ruby/io.h>
19
#include <ruby/thread.h>
20
+#ifdef HAVE_RUBY_RACTOR_H
21
+#include <ruby/ractor.h>
22
+#else
23
+#define RUBY_TYPED_FROZEN_SHAREABLE 0
24
+#endif
25
+
26
#include <openssl/opensslv.h>
27
28
#include <openssl/err.h>
ext/openssl/ossl_bn.c
@@ -10,10 +10,6 @@
10
/* modified by Michal Rokos <m.rokos@sh.cvut.cz> */
11
#include "ossl.h"
12
13
-#ifdef HAVE_RB_EXT_RACTOR_SAFE
14
-#include <ruby/ractor.h>
15
-#endif
16
-
#define NewBN(klass) \
TypedData_Wrap_Struct((klass), &ossl_bn_type, 0)
#define SetBN(obj, bn) do { \
0 commit comments