[pypy-svn] pypy default: Fix #include order: should fix definition of PY_LONG_LONG

amauryfa commits-noreply at bitbucket.org
Fri Dec 17 19:00:16 CET 2010


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r40100:75ef23f19202
Date: 2010-11-07 20:12 +0000
http://bitbucket.org/pypy/pypy/changeset/75ef23f19202/

Log:	Fix #include order: should fix definition of PY_LONG_LONG

diff --git a/pypy/module/cpyext/include/Python.h b/pypy/module/cpyext/include/Python.h
--- a/pypy/module/cpyext/include/Python.h
+++ b/pypy/module/cpyext/include/Python.h
@@ -80,6 +80,7 @@
 #include <pypy_macros.h>
 
 #include "patchlevel.h"
+#include "pyconfig.h"
 
 #include "object.h"
 #include "pyport.h"
@@ -92,8 +93,6 @@
 #include <locale.h>
 #include <ctype.h>
 
-#include "pyconfig.h"
-
 #include "boolobject.h"
 #include "floatobject.h"
 #include "complexobject.h"



More information about the Pypy-commit mailing list