Skip to content

Commit

Permalink
Do not return 'none' from gauche-thread-type
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok committed Dec 13, 2023
1 parent 7fb1e49 commit 12ae8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libthr.scm
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
(define-cproc gauche-thread-type ()
(.cond [(defined GAUCHE_USE_PTHREADS) (return 'pthread)]
[(defined GAUCHE_USE_WTHREADS) (return 'win32)]
[else (return 'none)])))
[else (Scm_Panic "Can't determine thread type. Configuration error?")])))

;;===============================================================
;; Thread
Expand Down

0 comments on commit 12ae8be

Please sign in to comment.