Forráskód Böngészése

Merge pull request #332 from grissiom/fix-minilibc

minilibc: define SIZE_MAX in stdint.h
Bernard Xiong 10 éve
szülő
commit
7bd85ac547
1 módosított fájl, 2 hozzáadás és 0 törlés
  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