aboutsummaryrefslogtreecommitdiff
path: root/src/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.c')
-rw-r--r--src/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file.c b/src/file.c
index 24ca89765646..aeee9f97aa98 100644
--- a/src/file.c
+++ b/src/file.c
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*
- * Copyright (c) 2018-2021 Gavin D. Howard and contributors.
+ * Copyright (c) 2018-2023 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -336,7 +336,7 @@ bc_file_vprintf(BcFile* restrict f, const char* fmt, va_list args)
bc_file_puts(f, bc_flush_none, s);
}
-#if BC_DEBUG_CODE
+#ifndef NDEBUG
// We only print signed integers in debug code.
else if (c == 'd')
{
@@ -357,7 +357,7 @@ bc_file_vprintf(BcFile* restrict f, const char* fmt, va_list args)
bc_file_puts(f, bc_flush_none, buf);
}
}
-#endif // BC_DEBUG_CODE
+#endif // NDEBUG
else
{
unsigned long long ull;