From e7dbbd16a5ba5045b133cca26359683ac458f98b Mon Sep 17 00:00:00 2001 From: Gunter Knauf <gk@gknw.de> Date: Thu, 24 Jun 2004 13:49:14 +0000 Subject: fixed the MSVC build. --- lib/config-win32.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/config-win32.h b/lib/config-win32.h index b1463741e..4336e19e0 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -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 -- cgit v1.2.3