aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/include/resource.h')
-rw-r--r--engines/sci/include/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h
index 278810490d..ada1e4823f 100644
--- a/engines/sci/include/resource.h
+++ b/engines/sci/include/resource.h
@@ -295,7 +295,7 @@ sci_sched_yield(void);
# endif /* !__i386__ && !__alpha__ */
#endif
#ifndef BREAKPOINT
-# define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *) NULL) = 42; }
+# define BREAKPOINT() { error("Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *) NULL) = 42; }
#endif /* !BREAKPOINT() */
#endif