[Python-checkins] python/dist/src/Include compile.h,2.37.2.7,2.37.2.8
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Fri, 25 Jul 2003 17:35:17 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv9668/Include
Modified Files:
Tag: ast-branch
compile.h
Log Message:
Fix problem of code.h header not being included when needed. Possible OS X-only issue.
Index: compile.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/compile.h,v
retrieving revision 2.37.2.7
retrieving revision 2.37.2.8
diff -C2 -d -r2.37.2.7 -r2.37.2.8
*** compile.h 28 Apr 2003 17:33:01 -0000 2.37.2.7
--- compile.h 26 Jul 2003 00:35:15 -0000 2.37.2.8
***************
*** 1,6 ****
#ifndef Py_COMPILE_H
#define Py_COMPILE_H
#ifdef __cplusplus
! //extern "C" {
#endif
--- 1,10 ----
+ #ifndef Py_CODE_H
+ #include "code.h"
+ #endif
+
#ifndef Py_COMPILE_H
#define Py_COMPILE_H
#ifdef __cplusplus
! extern "C" {
#endif