We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5917137 commit df7efdcCopy full SHA for df7efdc
1 file changed
string.c
@@ -21,15 +21,6 @@
21
# include <unistd.h>
22
#endif
23
24
-#if defined HAVE_CRYPT_R
25
-# if defined HAVE_CRYPT_H
26
-# include <crypt.h>
27
-# endif
28
-#elif !defined HAVE_CRYPT
29
-# include "missing/crypt.h"
30
-# define HAVE_CRYPT_R 1
31
-#endif
32
-
33
#include "debug_counter.h"
34
#include "encindex.h"
35
#include "gc.h"
@@ -55,6 +46,15 @@
55
46
#include "ruby_assert.h"
56
47
#include "vm_sync.h"
57
48
49
+#if defined HAVE_CRYPT_R
50
+# if defined HAVE_CRYPT_H
51
+# include <crypt.h>
52
+# endif
53
+#elif !defined HAVE_CRYPT
54
+# include "missing/crypt.h"
+# define HAVE_CRYPT_R 1
+#endif
+
58
#define BEG(no) (regs->beg[(no)])
59
#define END(no) (regs->end[(no)])
60
0 commit comments