summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-03-10 17:18:57 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-03-10 17:18:57 +0100
commit03d2411cdcd683fb9cc85d40d3d0175b983cf47f (patch)
tree3c25a7e2037776402748a2b1e9fec7942be61d72
parent8d9d970c9858f0fa2f2719c63b08f364269e575c (diff)
target/firmware: fix error: conflicting types for 'int32_t'fixeria/burst_ind
-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;