Add other constants to c and libc

This commit is contained in:
gingerBill
2021-09-10 16:14:39 +01:00
parent 297cdde144
commit 9980f81062
5 changed files with 14 additions and 3 deletions
+3
View File
@@ -10,6 +10,9 @@ when ODIN_OS == "windows" {
sig_atomic_t :: distinct atomic_int
SIG_ATOMIC_MIN :: min(sig_atomic_t)
SIG_ATOMIC_MAX :: max(sig_atomic_t)
@(default_calling_convention="c")
foreign libc {
signal :: proc(sig: int, func: proc "c" (int)) -> proc "c" (int) ---