summaryrefslogtreecommitdiffstats
path: root/Include/complexobject.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-10-04 12:43:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-10-04 12:43:02 (GMT)
commit638437ff4d55102d6de33e2ef337ef55957285a5 (patch)
tree7382d92e292b17062b6d62c39d0e9e521bbba2dc /Include/complexobject.h
parenta40ea756258c4a298c2f031d0f7bfdf5b68afe21 (diff)
downloadcpython-638437ff4d55102d6de33e2ef337ef55957285a5.zip
cpython-638437ff4d55102d6de33e2ef337ef55957285a5.tar.gz
cpython-638437ff4d55102d6de33e2ef337ef55957285a5.tar.bz2
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 f5b755d..e59bf2c 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 */