[pypy-svn] r47275 - pypy/dist/pypy/rpython/tool

fijal at codespeak.net fijal at codespeak.net
Sun Oct 7 23:38:54 CEST 2007


Author: fijal
Date: Sun Oct  7 23:38:54 2007
New Revision: 47275

Modified:
   pypy/dist/pypy/rpython/tool/rffi_platform.py
Log:
Shuffle stuff around. Helps things like #define _GNU_SOURCE


Modified: pypy/dist/pypy/rpython/tool/rffi_platform.py
==============================================================================
--- pypy/dist/pypy/rpython/tool/rffi_platform.py	(original)
+++ pypy/dist/pypy/rpython/tool/rffi_platform.py	Sun Oct  7 23:38:54 2007
@@ -79,9 +79,9 @@
         CConfig = self.config
         print >> f, C_HEADER
         print >> f
+        print >> f, getattr(CConfig, '_header_', '')      # optional
         for path in getattr(CConfig, '_includes_', ()):   # optional
             print >> f, '#include <%s>' % (path,)
-        print >> f, getattr(CConfig, '_header_', '')      # optional
         print >> f
 
     def write_entry(self, key, entry):



More information about the Pypy-commit mailing list