mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
include stdint.h for uintptr_t
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#ifndef SKYNET_ATOMIC_H
|
||||
#define SKYNET_ATOMIC_H
|
||||
|
||||
#ifdef __STDC_NO_ATOMICS__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __STDC_NO_ATOMICS__
|
||||
|
||||
#define ATOM_INT volatile int
|
||||
#define ATOM_POINTER volatile uintptr_t
|
||||
#define ATOM_SIZET volatile size_t
|
||||
|
||||
Reference in New Issue
Block a user