gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/libbase tu_types.h


From: Markus Gothe
Subject: [Gnash-commit] gnash/libbase tu_types.h
Date: Tue, 17 Oct 2006 21:06:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/10/17 21:06:21

Modified files:
        libbase        : tu_types.h 

Log message:
        IFF running on linux #include <endian.h> else #include <sys/endian.h>.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_types.h?cvsroot=gnash&r1=1.27&r2=1.28

Patches:
Index: tu_types.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_types.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- tu_types.h  17 Oct 2006 20:52:58 -0000      1.27
+++ tu_types.h  17 Oct 2006 21:06:21 -0000      1.28
@@ -74,10 +74,10 @@
 #endif
 
 #ifndef BYTE_ORDER
-#if defined(__sgi) || defined(sgi) || defined(__sgi__) || defined(__FreeBSD__) 
|| defined(__FreeBSD) || defined(__OpenBSD) || defined(__OpenBSD__) || 
defined(__NetBSD__) || defined(__NetBSD)
-       #include <sys/endian.h>
-#else
+#if defined(linux) || defined(__linux) || defined(__linux__)
        #include <endian.h>
+#else
+       #include <sys/endian.h>
 #endif
 #  ifndef BYTE_ORDER
 #    error BYTE_ORDER not defined by endian.h. :(




reply via email to

[Prev in Thread] Current Thread [Next in Thread]