[pypy-commit] cffi cffi-1.0: Windows

arigo noreply at buildbot.pypy.org
Sun May 3 19:52:05 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1910:c2be844fc3c7
Date: 2015-05-03 19:28 +0200
http://bitbucket.org/cffi/cffi/changeset/c2be844fc3c7/

Log:	Windows

diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py
--- a/_cffi1/recompiler.py
+++ b/_cffi1/recompiler.py
@@ -175,6 +175,8 @@
                     self._fix_final_field_list(lst)
                 for line in lst:
                     prnt(line)
+                if all(line.startswith('#') for line in lst):
+                    prnt('  { 0 }')
                 prnt('};')
                 prnt()
         #


More information about the pypy-commit mailing list