source:
freewrt/tools/jffs2/patches/gcc4-fix.patch@
1444c95
| Last change on this file since 1444c95 was a09b227, checked in by , 19 years ago | |
|---|---|
|
|
| File size: 1004 bytes | |
-
include/mtd/jffs2-user.h
diff -urN mtd-20050122.orig.old/include/mtd/jffs2-user.h mtd-20050122.orig.dev/include/mtd/jffs2-user.h
old new 19 19 #undef je32_to_cpu 20 20 #undef jemode_to_cpu 21 21 22 extern int target_endian;23 24 22 #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); }) 25 23 #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); }) 26 24 -
util/jffs3.h
diff -urN mtd.old/util/jffs3.h mtd.dev/util/jffs3.h
old new 177 177 #undef je32_to_cpu 178 178 #undef jemode_to_cpu 179 179 180 extern int target_endian;181 182 180 #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); }) 183 181 #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); }) 184 182
Note:
See TracBrowser
for help on using the repository browser.
