Преглед изворни кода

minilibc: define SIZE_MAX in stdint.h

Grissiom пре 11 година
родитељ
комит
ab729429b3
1 измењених фајлова са 2 додато и 0 уклоњено
  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 LONG_MIN	(-LONG_MAX - 1)
 #define ULONG_MAX	(~0UL)
 #define ULONG_MAX	(~0UL)
 
 
+#define SIZE_MAX	ULONG_MAX
+
 #endif
 #endif