Author: Armin Rigo <ar...@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()
         #
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to