Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cyjs/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ static JSRuntime* CYJS_NewRuntime(void* opaque){
the program remebers to exit (Will move it to cython after all of the first tests succeed and the library has had it's first release) */

/* the interrupt handler has a NULL Opaque for right now because we can ignore needing it. */
#if _WIN32
JS_SetInterruptHandler(rt, CYJS_SigInterruptHandler, NULL);
#else
JS_SetInterruptHandler(rt, (JSInterruptHandler*)CYJS_SigInterruptHandler, NULL);
#endif
return rt;
}

Expand Down
2 changes: 1 addition & 1 deletion quickjs
Submodule quickjs updated 125 files
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def finalize_options(self):


if __name__ == "__main__":
if sys.platform != "linux":
if sys.platform == "win32":
setup(
ext_modules=[
Extension(
Expand Down
Loading