Skip to content

Commit 7a15ccf

Browse files
committed
compile windows specific PyErr APIs
1 parent 0faa73f commit 7a15ccf

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/errors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,6 @@ PyErr_SetFromErrno(PyObject *exc)
656656
return PyErr_SetFromErrnoWithFilenameObjects(exc, NULL, NULL);
657657
}
658658

659-
#if 0 // GraalPy change
660659
#ifdef MS_WINDOWS
661660
/* Windows specific error code handling */
662661
PyObject *PyErr_SetExcFromWindowsErrWithFilenameObject(
@@ -794,6 +793,7 @@ PyObject *PyErr_SetFromWindowsErrWithFilename(
794793

795794
#endif /* MS_WINDOWS */
796795

796+
#if 0 // GraalPy change
797797
PyObject *
798798
PyErr_SetImportErrorSubclass(PyObject *exception, PyObject *msg,
799799
PyObject *name, PyObject *path)

0 commit comments

Comments
 (0)