Skip to content

Commit 2f9d0c8

Browse files
committedJun 14, 2023
include stdint.h for uintptr_t
1 parent 4893fa3 commit 2f9d0c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎skynet-src/atomic.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#ifndef SKYNET_ATOMIC_H
22
#define SKYNET_ATOMIC_H
33

4-
#ifdef __STDC_NO_ATOMICS__
5-
64
#include <stddef.h>
75
#include <stdint.h>
86

7+
#ifdef __STDC_NO_ATOMICS__
8+
99
#define ATOM_INT volatile int
1010
#define ATOM_POINTER volatile uintptr_t
1111
#define ATOM_SIZET volatile size_t

0 commit comments

Comments
 (0)
Please sign in to comment.