* fixed compilation under MSVC 2008 and older.

This commit is contained in:
Pedro Lopez-Cabanillas 2009-04-02 18:28:07 +00:00
parent 251f96524c
commit c3f3fa3762
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,6 @@
2009-04-02 Pedro Lopez-Cabanillas <plcl@users.sourceforge.net>
* src/config_win32.h: fix compilation under MSVC 2008 and older
2009-03-15 Josh Green <jgreen@users.sourceforge.net>
* ltconfig: Removed obsolete ltconfig script by suggestion of
Sven Hoexter.

View file

@ -15,7 +15,12 @@
#define WITH_FLOAT 1
#define snprintf _snprintf
#define strcasecmp _stricmp
#if _MSC_VER < 1500
#define vsnprintf _vsnprintf
#endif
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
@ -26,6 +31,7 @@
#pragma warning(disable : 4244)
#pragma warning(disable : 4101)
#pragma warning(disable : 4305)
#pragma warning(disable : 4996)
#define WITHOUT_SERVER 1

View file

@ -15,7 +15,12 @@
#define WITH_FLOAT 1
#define snprintf _snprintf
#define strcasecmp _stricmp
#if _MSC_VER < 1500
#define vsnprintf _vsnprintf
#endif
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
@ -26,6 +31,7 @@
#pragma warning(disable : 4244)
#pragma warning(disable : 4101)
#pragma warning(disable : 4305)
#pragma warning(disable : 4996)
#define WITHOUT_SERVER 1