Skip to content

Commit df7efdc

Browse files
committed
Get rid of LONG_LONG redefinition
1 parent 5917137 commit df7efdc

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

string.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@
2121
# include <unistd.h>
2222
#endif
2323

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-
3324
#include "debug_counter.h"
3425
#include "encindex.h"
3526
#include "gc.h"
@@ -55,6 +46,15 @@
5546
#include "ruby_assert.h"
5647
#include "vm_sync.h"
5748

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"
55+
# define HAVE_CRYPT_R 1
56+
#endif
57+
5858
#define BEG(no) (regs->beg[(no)])
5959
#define END(no) (regs->end[(no)])
6060

0 commit comments

Comments
 (0)