MSVC friendly fixes [4]
This commit is contained in:
parent
a7025451f3
commit
20ba1cd738
@ -12,5 +12,8 @@
|
|||||||
#define HAVE_STRING_H 1
|
#define HAVE_STRING_H 1
|
||||||
#define HAVE_MEMORY_H 1
|
#define HAVE_MEMORY_H 1
|
||||||
#define HAVE_STRCOLL 1
|
#define HAVE_STRCOLL 1
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define HAVE_MALLOC_H 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define __P(protos) protos
|
#define __P(protos) protos
|
||||||
|
@ -298,6 +298,9 @@ init_syntax_once ()
|
|||||||
# if HAVE_ALLOCA_H
|
# if HAVE_ALLOCA_H
|
||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
# endif /* HAVE_ALLOCA_H */
|
# endif /* HAVE_ALLOCA_H */
|
||||||
|
# if HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
# endif /* HAVE_MALLOC_H */
|
||||||
# endif /* not __GNUC__ */
|
# endif /* not __GNUC__ */
|
||||||
|
|
||||||
# endif /* not alloca */
|
# endif /* not alloca */
|
||||||
|
Reference in New Issue
Block a user