From: Neal Norwitz Date: Wed, 25 Sep 2002 21:40:17 +0000 (+0000) Subject: Backport revision 1.6 by jackjansen; X-Git-Tag: v2.2.2b1~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=727bbab275295616befa95d773d2d850090d6c59;p=thirdparty%2FPython%2Fcpython.git Backport revision 1.6 by jackjansen; Added include guards and C++ extern "C" {} constructs. Partial fix for #607253. --- diff --git a/Include/pymactoolbox.h b/Include/pymactoolbox.h index 5313d91282bf..324291b6a3ff 100644 --- a/Include/pymactoolbox.h +++ b/Include/pymactoolbox.h @@ -1,7 +1,8 @@ /* ** pymactoolbox.h - globals defined in mactoolboxglue.c */ - +#ifndef Py_PYMACTOOLBOX_H +#define Py_PYMACTOOLBOX_H #ifdef __cplusplus extern "C" { #endif @@ -195,3 +196,4 @@ extern int OptionalCFURLRefObj_Convert(PyObject *, CFURLRef *); #ifdef __cplusplus } #endif +#endif