Explorar el Código

Merge pull request #332 from grissiom/fix-minilibc

minilibc: define SIZE_MAX in stdint.h
Bernard Xiong hace 11 años
padre
commit
7bd85ac547
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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