[pypy-commit] cffi default: A #define for the use of snprintf below.

arigo noreply at buildbot.pypy.org
Sat Aug 11 21:18:21 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r800:9a2d6397d1aa
Date: 2012-08-11 21:18 +0200
http://bitbucket.org/cffi/cffi/changeset/9a2d6397d1aa/

Log:	A #define for the use of snprintf below.

diff --git a/cffi/vengine_gen.py b/cffi/vengine_gen.py
--- a/cffi/vengine_gen.py
+++ b/cffi/vengine_gen.py
@@ -442,6 +442,7 @@
 
 #ifdef _WIN32
 #  include <Windows.h>
+#  define snprintf _snprintf
 typedef __int8 int8_t;
 typedef __int16 int16_t;
 typedef __int32 int32_t;


More information about the pypy-commit mailing list