Fix DJGPP build

This commit is contained in:
Stas Degteff 2011-03-02 12:42:07 +00:00
parent 92626bd967
commit b06ac72a22
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,7 @@ SHELL=sh
EXEEXT=.exe
OBJEXT=.o
LIBEXT=.a
CFLAGS+=-DHAVE_STDARG_H
else
ifeq ($(PLATFORM),be)
CAT=cat

View File

@ -69,6 +69,12 @@ int vsnprintf( char *buffer, size_t sizeOfBuffer, const char *format, va_list ar
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
# include "snprintf.c"
# if defined(HAVE__SNPRINTF)
# define HAVE_SNPRINTF 1
# endif
# if defined(HAVE__VSNPRINTF)
# define HAVE_VSNPRINTF 1
# endif
#endif
//--------------------------------------------------------------------