headers (3)

This commit is contained in:
bumbread 2022-08-05 14:00:32 +11:00
parent a35716e34e
commit 3b34ade36e
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,5 @@
#pragma once
#include <stdatomic.h>
#if defined(_WIN32)
#define _Thread_local __declspec(thread)
#endif
@ -38,7 +36,7 @@
// Done to handle recursive mutexes
unsigned long recursion;
unsigned long owner;
atomic_int counter;
_Atomic(int) counter;
void* semaphore;
} mtx_t;
#else

View File

@ -10,6 +10,7 @@
#include <math.h>
#include <signal.h>
#include <stdarg.h>
#include <stdatomic.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>