summaryrefslogtreecommitdiffstats
path: root/Mac/Include/macglue.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-09-10 12:32:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-09-10 12:32:47 (GMT)
commit47ec1419639b1aa1817860b301c81868284336d1 (patch)
tree450b5f361f53d0146425411f1d2f2a7f00d9b0f9 /Mac/Include/macglue.h
parent2575022aeff348596c34e0caa028ea8c166cbff6 (diff)
downloadcpython-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 'Mac/Include/macglue.h')
-rw-r--r--Mac/Include/macglue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 3e57cd4..170de35 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -21,7 +21,8 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-
+#ifndef Py_MACGLUE_H
+#define Py_MACGLUE_H
#ifdef WITHOUT_FRAMEWORKS
#include <Types.h>
#include <Files.h>
@@ -137,3 +138,4 @@ long PyMac_DummyWriteHandler(char *, long);
#ifdef __cplusplus
}
#endif
+#endif