Get rid of LONG_LONG redefinition
This commit is contained in:
parent
59171378fb
commit
df7efdcb6b
18
string.c
18
string.c
@ -21,15 +21,6 @@
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined HAVE_CRYPT_R
|
|
||||||
# if defined HAVE_CRYPT_H
|
|
||||||
# include <crypt.h>
|
|
||||||
# endif
|
|
||||||
#elif !defined HAVE_CRYPT
|
|
||||||
# include "missing/crypt.h"
|
|
||||||
# define HAVE_CRYPT_R 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "debug_counter.h"
|
#include "debug_counter.h"
|
||||||
#include "encindex.h"
|
#include "encindex.h"
|
||||||
#include "gc.h"
|
#include "gc.h"
|
||||||
@ -55,6 +46,15 @@
|
|||||||
#include "ruby_assert.h"
|
#include "ruby_assert.h"
|
||||||
#include "vm_sync.h"
|
#include "vm_sync.h"
|
||||||
|
|
||||||
|
#if defined HAVE_CRYPT_R
|
||||||
|
# if defined HAVE_CRYPT_H
|
||||||
|
# include <crypt.h>
|
||||||
|
# endif
|
||||||
|
#elif !defined HAVE_CRYPT
|
||||||
|
# include "missing/crypt.h"
|
||||||
|
# define HAVE_CRYPT_R 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BEG(no) (regs->beg[(no)])
|
#define BEG(no) (regs->beg[(no)])
|
||||||
#define END(no) (regs->end[(no)])
|
#define END(no) (regs->end[(no)])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user