Author: Armin Rigo <[email protected]>
Branch:
Changeset: r90341:82c823854add
Date: 2017-02-24 17:09 +0100
http://bitbucket.org/pypy/pypy/changeset/82c823854add/
Log: Issue #2483: use ``#include ".."`` instead of ``#include <..>`` to
refer to a file in the same directory
diff --git a/pypy/module/cpyext/include/Python.h
b/pypy/module/cpyext/include/Python.h
--- a/pypy/module/cpyext/include/Python.h
+++ b/pypy/module/cpyext/include/Python.h
@@ -73,7 +73,7 @@
#define Py_MEMCPY memcpy
-#include <pypy_macros.h>
+#include "pypy_macros.h"
#include "patchlevel.h"
#include "pyconfig.h"
@@ -137,7 +137,7 @@
#ifdef __cplusplus
extern "C" {
#endif
- #include <pypy_decl.h>
+ #include "pypy_decl.h"
#ifdef __cplusplus
}
#endif
diff --git a/pypy/module/cpyext/include/object.h
b/pypy/module/cpyext/include/object.h
--- a/pypy/module/cpyext/include/object.h
+++ b/pypy/module/cpyext/include/object.h
@@ -7,7 +7,7 @@
extern "C" {
#endif
-#include <cpyext_object.h>
+#include "cpyext_object.h"
#define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
diff --git a/pypy/module/cpyext/include/unicodeobject.h
b/pypy/module/cpyext/include/unicodeobject.h
--- a/pypy/module/cpyext/include/unicodeobject.h
+++ b/pypy/module/cpyext/include/unicodeobject.h
@@ -5,7 +5,7 @@
extern "C" {
#endif
-#include <cpyext_unicodeobject.h>
+#include "cpyext_unicodeobject.h"
#ifdef __cplusplus
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit