[build] don't define UINT32_MAX for C (#3581)

This commit is contained in:
Kamil Sroka
2019-02-11 13:04:56 -08:00
committed by Jonathan Hui
parent 9bd0467b6f
commit 84a2706393
+2
View File
@@ -303,12 +303,14 @@ extern "C" {
/*
* Keil and IAR compiler doesn't provide type limits for C++.
*/
#ifdef __cplusplus
#if defined(__CC_ARM) || defined(__ICCARM__)
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffff
#endif
#endif
#endif
/**