Fix amd64 compilation, does not break other architectures : ppc, x86
SVN-Revision: 4804
This commit is contained in:
parent
e8e0fa8cc9
commit
d8f946d533
1 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
||||||
|
Index: package/linux-atm/patches/400-stdint-local-instead-of-host.patch
|
||||||
|
===================================================================
|
||||||
|
--- package/linux-atm/patches/400-stdint-local-instead-of-host.patch (revision 0)
|
||||||
|
+++ package/linux-atm/patches/400-stdint-local-instead-of-host.patch (revision 0)
|
||||||
|
@@ -0,0 +1,15 @@
|
||||||
|
+--- linux-atm-2.4.1/src/include/stdint.h 2001-09-03 20:41:06.000000000 +0200
|
||||||
|
++++ linux-atm-2.4.1/src/include/stdint.h.my 2006-08-26 22:08:41.000000000 +0200
|
||||||
|
+@@ -4,11 +4,7 @@
|
||||||
|
+
|
||||||
|
+ #include <features.h>
|
||||||
|
+
|
||||||
|
+-#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
|
||||||
|
+-
|
||||||
|
+-#include "/usr/include/stdint.h"
|
||||||
|
+-
|
||||||
|
+-#elif __GLIBC__ >= 2
|
||||||
|
++#if __GLIBC__ >= 2
|
||||||
|
+
|
||||||
|
+ /* Works for i386 and Alpha */
|
||||||
|
+
|
Loading…
Reference in a new issue