summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/include/stdint.h')
-rw-r--r--src/target/firmware/include/stdint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/include/stdint.h b/src/target/firmware/include/stdint.h
index 627403f9..5997f43b 100644
--- a/src/target/firmware/include/stdint.h
+++ b/src/target/firmware/include/stdint.h
@@ -19,7 +19,7 @@
#include_next <stdint.h>
#endif
-#ifndef __int8_t_defined
+#if (!defined(__int8_t_defined) && !defined(INT8_MAX))
typedef signed char int8_t;
typedef unsigned char uint8_t;