SOURCES: module-init-tools-max.patch (NEW) - dietlibc doesn't have UINT32_MAX

arekm arekm at pld-linux.org
Sun Apr 12 09:15:25 CEST 2009


Author: arekm                        Date: Sun Apr 12 07:15:25 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- dietlibc doesn't have UINT32_MAX

---- Files affected:
SOURCES:
   module-init-tools-max.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/module-init-tools-max.patch
diff -u /dev/null SOURCES/module-init-tools-max.patch:1.1
--- /dev/null	Sun Apr 12 09:15:25 2009
+++ SOURCES/module-init-tools-max.patch	Sun Apr 12 09:15:19 2009
@@ -0,0 +1,14 @@
+--- module-init-tools-3.7/index.h~	2009-03-03 22:40:10.000000000 +0100
++++ module-init-tools-3.7/index.h	2009-04-12 09:13:52.430676036 +0200
+@@ -98,7 +98,11 @@
+    child pointers at the start and end of arrays.
+ */
+ 
++#ifdef UINT32_MAX
+ #define INDEX_PRIORITY_MIN UINT32_MAX
++#else
++#define INDEX_PRIORITY_MIN INT_MAX
++#endif
+ 
+ struct index_value {
+ 	struct index_value *next;
================================================================


More information about the pld-cvs-commit mailing list