projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5683eeb
)
safety fix
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 10 Mar 2013 15:24:21 +0000
(16:24 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 10 Mar 2013 15:24:21 +0000
(16:24 +0100)
Cython/Utility/ObjectHandling.c
patch
|
blob
|
history
diff --git
a/Cython/Utility/ObjectHandling.c
b/Cython/Utility/ObjectHandling.c
index
02a0c64
..
2b3e017
100644
(file)
--- a/
Cython/Utility/ObjectHandling.c
+++ b/
Cython/Utility/ObjectHandling.c
@@
-429,7
+429,7
@@
static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop
*_stop = stop;
}
-#if __STDC_VERSION__ >= 199901L
+#if
defined (__STDC_VERSION__) &&
__STDC_VERSION__ >= 199901L
static CYTHON_INLINE void Pyx_copy_object_array(PyObject** restrict src, PyObject** restrict dest, Py_ssize_t length) {
#else
static CYTHON_INLINE void Pyx_copy_object_array(PyObject** src, PyObject** dest, Py_ssize_t length) {