mirror of https://github.com/flysand7/ciabatta.git
headers (3)
This commit is contained in:
parent
a35716e34e
commit
3b34ade36e
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue