summaryrefslogtreecommitdiff
path: root/source/base/base_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/base/base_os.h')
-rw-r--r--source/base/base_os.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/base/base_os.h b/source/base/base_os.h
index 536119e..82aa70d 100644
--- a/source/base/base_os.h
+++ b/source/base/base_os.h
@@ -89,14 +89,20 @@ log_s8(string8 s)
89 os_write(s.data, s.size); 89 os_write(s.data, s.size);
90} 90}
91 91
92#if 1
92internal void 93internal void
93_log(const char *str) 94_log(const char *str)
94{ 95{
96#ifdef BASE_LOGGING
95 s32 len = 0; 97 s32 len = 0;
96 while (str[len]) len++; 98 while (str[len]) len++;
97 os_write(str, len); 99 os_write(str, len);
100#else
101 unused(str);
102#endif
98 103
99} 104}
105#endif
100 106
101internal void 107internal void
102write_string(const char *str) 108write_string(const char *str)