summaryrefslogtreecommitdiff
path: root/Include/complexobject.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-10-04 12:43:02 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-10-04 12:43:02 +0000
commite7a65ef363906ffc070613ab9dd4766d96726af2 (patch)
treefe914ab545ec5eb4bf87c9593aaa48f6c0fd4f82 /Include/complexobject.h
parenta3d10a2c86252a19bb0f0cebd7fd7613eb2e0d0f (diff)
downloadcpython-e7a65ef363906ffc070613ab9dd4766d96726af2.tar.gz
SF # 607253, header file problems by Ralf W. Grosse-Kunstleve
Don't pollute the namespace when protecting against multiple header inclusion. Prefix with Py_ and use standard naming convention Py_FILENAME_H.
Diffstat (limited to 'Include/complexobject.h')
-rw-r--r--Include/complexobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/complexobject.h b/Include/complexobject.h
index f5b755d60a..e59bf2ca95 100644
--- a/Include/complexobject.h
+++ b/Include/complexobject.h
@@ -1,7 +1,7 @@
/* Complex number structure */
-#ifndef COMPLEXOBJECT_H
-#define COMPLEXOBJECT_H
+#ifndef Py_COMPLEXOBJECT_H
+#define Py_COMPLEXOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
@@ -55,4 +55,4 @@ PyAPI_FUNC(Py_complex) PyComplex_AsCComplex(PyObject *op);
#ifdef __cplusplus
}
#endif
-#endif /* !COMPLEXOBJECT_H */
+#endif /* !Py_COMPLEXOBJECT_H */