diff options
Diffstat (limited to 'posix/bits/types.h')
-rw-r--r-- | posix/bits/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/bits/types.h b/posix/bits/types.h index 7638bd044d..e2f73a89e4 100644 --- a/posix/bits/types.h +++ b/posix/bits/types.h @@ -197,6 +197,10 @@ __STD_TYPE __SWORD_TYPE __intptr_t; /* Duplicate info from sys/socket.h. */ __STD_TYPE __U32_TYPE __socklen_t; +/* C99: An integer type that can be accessed as an atomic entity, + even in the presence of asynchronous interrupts. + It is not currently necessary for this to be machine-specific. */ +typedef int __sig_atomic_t; #undef __STD_TYPE |