Skip to content

Commit

Permalink
Blindfix HL-Mac some more
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Nov 29, 2022
1 parent 37ac01a commit a4ff125
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Backends/Kinc-HL/hl/src/std/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static void _sigtrap_handler(int signum) {
#endif

#ifdef HL_MAC
extern bool is_debugger_attached(void);
extern bool kinc_debugger_attached(void);
#endif

HL_PRIM bool hl_detect_debugger() {
Expand All @@ -226,7 +226,7 @@ HL_PRIM bool hl_detect_debugger() {
}
return (bool)debugger_present;
# elif defined(HL_MAC)
return is_debugger_attached();
return kinc_debugger_attached();
# else
return false;
# endif
Expand Down
2 changes: 1 addition & 1 deletion Kinc

0 comments on commit a4ff125

Please sign in to comment.