From 727bbab275295616befa95d773d2d850090d6c59 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 25 Sep 2002 21:40:17 +0000 Subject: [PATCH] Backport revision 1.6 by jackjansen; Added include guards and C++ extern "C" {} constructs. Partial fix for #607253. --- Include/pymactoolbox.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3