MSVC friendly fixes [4]

This commit is contained in:
Alexander S. Aganichev 2002-09-24 15:08:02 +00:00
parent a7025451f3
commit 20ba1cd738
2 changed files with 6 additions and 0 deletions

View File

@ -12,5 +12,8 @@
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRCOLL 1
#ifdef _MSC_VER
#define HAVE_MALLOC_H 1
#endif
#define __P(protos) protos

View File

@ -298,6 +298,9 @@ init_syntax_once ()
# if HAVE_ALLOCA_H
# include <alloca.h>
# endif /* HAVE_ALLOCA_H */
# if HAVE_MALLOC_H
# include <malloc.h>
# endif /* HAVE_MALLOC_H */
# endif /* not __GNUC__ */
# endif /* not alloca */