diff options
| author | Andreas T Jonsson <mail@andreasjonsson.se> | 2024-04-22 09:32:19 +0200 |
|---|---|---|
| committer | Andreas T Jonsson <mail@andreasjonsson.se> | 2024-04-22 09:32:19 +0200 |
| commit | 1b15d8b4537a8568ddb6eaae5a8ecde383c49d2f (patch) | |
| tree | d6baefc65bf713b92363d1a0cee34581150ba278 /src | |
| parent | 50cbb802b71630ee695e87a7042840180eec120e (diff) | |
Added build tag
Added build tag to rand_bsd.odin and fixed build warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bug_report.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bug_report.cpp b/src/bug_report.cpp index b514df3eb..2262779c1 100644 --- a/src/bug_report.cpp +++ b/src/bug_report.cpp @@ -250,7 +250,7 @@ gb_internal void report_ram_info() { if (sysctl(mibs, 2, &ram_amount, &val_size, NULL, 0) != -1) { gb_printf("%lld MiB\n", ram_amount / gb_megabytes(1)); } - #elif defined(GB_SYSTEM_OPENBSD) || defined(GB_SYSTEM_NETBSD) + #elif defined(GB_SYSTEM_OPENBSD) uint64_t ram_amount; size_t val_size = sizeof(ram_amount); @@ -258,7 +258,7 @@ gb_internal void report_ram_info() { if (sysctl(mibs, 2, &ram_amount, &val_size, NULL, 0) != -1) { gb_printf("%lld MiB\n", ram_amount / gb_megabytes(1)); } - #elif defined(GB_SYSTEM_FREEBSD) + #elif defined(GB_SYSTEM_FREEBSD) || defined(GB_SYSTEM_NETBSD) uint64_t ram_amount; size_t val_size = sizeof(ram_amount); |