projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.22
/
903-stddef_include.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
b/target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
index
6cf3f91
..
c0c01c0
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
+++ b/
target/linux/generic-2.6/patches-2.6.22/903-stddef_include.patch
@@
-1,8
+1,6
@@
-Index: linux-2.6.22.19/include/linux/stddef.h
-===================================================================
---- linux-2.6.22.19.orig/include/linux/stddef.h
-+++ linux-2.6.22.19/include/linux/stddef.h
-@@ -16,6 +16,7 @@ enum {
+--- a/include/linux/stddef.h
++++ b/include/linux/stddef.h
+@@ -16,6 +16,7 @@
false = 0,
true = 1
};
false = 0,
true = 1
};
@@
-10,7
+8,7
@@
Index: linux-2.6.22.19/include/linux/stddef.h
#undef offsetof
#ifdef __compiler_offsetof
#undef offsetof
#ifdef __compiler_offsetof
-@@ -23,6 +24,5 @@
enum {
+@@ -23,6 +24,5 @@
#else
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
#else
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
This page took
0.02569 seconds
and
4
git commands to generate.