You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/10/02 14:31:00 UTC

[incubator-nuttx] branch master updated: include/stdint.h: add sig_atomic_t limits

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 0aa0394ca2 include/stdint.h: add sig_atomic_t limits
0aa0394ca2 is described below

commit 0aa0394ca2f6aa58cb23effc4bb9bd4bdc68ee21
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sun Oct 2 12:36:27 2022 +0200

    include/stdint.h: add sig_atomic_t limits
---
 include/stdint.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/stdint.h b/include/stdint.h
index ad07aad147..42cd716d21 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -123,6 +123,11 @@
 #define INTPTR_MAX          PTR_MAX
 #define UINTPTR_MAX         UPTR_MAX
 
+/* Limits of sig_atomic_t type */
+
+#define SIG_ATOMIC_MIN		INT32_MIN
+#define SIG_ATOMIC_MAX		INT32_MAX
+
 /* Limits of greatest-width integer types */
 
 #ifdef __INT64_DEFINED