Commit 3a3726c3 authored by Stefan Behnel's avatar Stefan Behnel

Try if we can avoid a C compiler warning in clang for a constant strchr() call.

parent ccf1769f
......@@ -180,7 +180,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
{
#if PY_MAJOR_VERSION >= 3
if (level == -1) {
if (strchr(__Pyx_MODULE_NAME, '.')) {
if ((strchr(__Pyx_MODULE_NAME, '.'))) {
/* try package relative import first */
#if CYTHON_COMPILING_IN_LIMITED_API
module = PyImport_ImportModuleLevelObject(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment