Skip to content
Snippets Groups Projects
Commit e7dbbd16 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

fixed the MSVC build.

parent 62f04579
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,11 @@
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#else
/* MSVC needs an underscore */
#define snprintf _snprintf
#endif
#endif
......@@ -29,9 +29,15 @@
/*************************************************
* This section is for compiler specific defines.*
*************************************************/
#ifdef MINGW32 /* Borland and MS don't have this */
/* Borland and MS don't have this */
#if defined(MINGW32) || defined(__WATCOMC__) || defined(__LCC__)
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#else
/* MSVC needs an underscore */
#define snprintf _snprintf
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment