lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches / 903-stddef_include.patch
index 6ce8558..3b40ced 100644 (file)
@@ -1,6 +1,8 @@
---- linux-2.6.19.2/include/linux/stddef.h.old  2007-02-14 03:34:54.861805424 +0100
-+++ linux-2.6.19.2/include/linux/stddef.h      2007-02-14 03:35:06.331061832 +0100
-@@ -16,6 +16,7 @@
+Index: linux-2.6.21.7/include/linux/stddef.h
+===================================================================
+--- linux-2.6.21.7.orig/include/linux/stddef.h
++++ linux-2.6.21.7/include/linux/stddef.h
+@@ -16,6 +16,7 @@ enum {
        false   = 0,
        true    = 1
  };
@@ -8,7 +10,7 @@
  
  #undef offsetof
  #ifdef __compiler_offsetof
-@@ -23,6 +24,5 @@
+@@ -23,6 +24,5 @@ enum {
  #else
  #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
  #endif
This page took 0.023657 seconds and 4 git commands to generate.