diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-10 12:32:47 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-10 12:32:47 (GMT) |
commit | 47ec1419639b1aa1817860b301c81868284336d1 (patch) | |
tree | 450b5f361f53d0146425411f1d2f2a7f00d9b0f9 /Include | |
parent | 2575022aeff348596c34e0caa028ea8c166cbff6 (diff) | |
download | cpython-47ec1419639b1aa1817860b301c81868284336d1.zip cpython-47ec1419639b1aa1817860b301c81868284336d1.tar.gz cpython-47ec1419639b1aa1817860b301c81868284336d1.tar.bz2 |
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Bugfix candidate.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pymactoolbox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pymactoolbox.h b/Include/pymactoolbox.h index 5e2bb34..16f7352 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 @@ -197,3 +198,4 @@ extern int OptionalCFURLRefObj_Convert(PyObject *, CFURLRef *); #ifdef __cplusplus } #endif +#endif |