Fix DJGPP build
This commit is contained in:
parent
92626bd967
commit
b06ac72a22
@ -84,6 +84,7 @@ SHELL=sh
|
||||
EXEEXT=.exe
|
||||
OBJEXT=.o
|
||||
LIBEXT=.a
|
||||
CFLAGS+=-DHAVE_STDARG_H
|
||||
else
|
||||
ifeq ($(PLATFORM),be)
|
||||
CAT=cat
|
||||
|
@ -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
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user