Ver Fonte

minilibc: define SIZE_MAX in stdint.h

Grissiom há 11 anos atrás
pai
commit
ab729429b3
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      components/libc/minilibc/stdint.h

+ 2 - 0
components/libc/minilibc/stdint.h

@@ -43,4 +43,6 @@ typedef unsigned long long uint64_t;
 #define LONG_MIN	(-LONG_MAX - 1)
 #define ULONG_MAX	(~0UL)
 
+#define SIZE_MAX	ULONG_MAX
+
 #endif