[pypy-commit] cffi default: Skip "ssize_t" on Windows, where it is usually not defined anyway.

arigo noreply at buildbot.pypy.org
Tue Jun 24 17:35:30 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1526:105930aef686
Date: 2014-06-24 17:35 +0200
http://bitbucket.org/cffi/cffi/changeset/105930aef686/

Log:	Skip "ssize_t" on Windows, where it is usually not defined anyway.

diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -199,6 +199,8 @@
         if (all_primitive_types[typename] == 'c' or
             typename == '_Bool' or typename == 'long double'):
             pass
+        elif typename == 'ssize_t' and sys.platform == 'win32':
+            pass
         else:
             typenames.append(typename)
     #


More information about the pypy-commit mailing list