summaryrefslogtreecommitdiff
path: root/include/vm.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2023-02-24 22:14:58 +0000
committerStefan Eßer <se@FreeBSD.org>2023-02-24 22:14:58 +0000
commit61e1a12bb6c3bfdb0a4e499c88e8eaa2b548e427 (patch)
tree86bf7579a17d0deeccf9d4a705c36eed3b1e3273 /include/vm.h
parentaaf1213c6f70af0b517f6aa13cd837d3468a7a0d (diff)
Diffstat (limited to 'include/vm.h')
-rw-r--r--include/vm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vm.h b/include/vm.h
index 1c303add2de0..dd21d43f5260 100644
--- a/include/vm.h
+++ b/include/vm.h
@@ -999,7 +999,7 @@ bc_vm_atexit(void);
size_t
bc_vm_numDigits(size_t val);
-#ifndef NDEBUG
+#if BC_DEBUG
/**
* Handle an error. This is the true error handler. It will start a jump series
@@ -1013,7 +1013,7 @@ bc_vm_numDigits(size_t val);
void
bc_vm_handleError(BcErr e, const char* file, int fline, size_t line, ...);
-#else // NDEBUG
+#else // BC_DEBUG
/**
* Handle an error. This is the true error handler. It will start a jump series
@@ -1025,7 +1025,7 @@ bc_vm_handleError(BcErr e, const char* file, int fline, size_t line, ...);
void
bc_vm_handleError(BcErr e, size_t line, ...);
-#endif // NDEBUG
+#endif // BC_DEBUG
/**
* Handle a fatal error.