]> git.meshlink.io Git - catta/commitdiff
fix a compilier warning in the HOWL headers. (Patch from MarkDoliner; closes #134)
authorLennart Poettering <lennart@poettering.net>
Tue, 8 May 2007 22:21:30 +0000 (22:21 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 May 2007 22:21:30 +0000 (22:21 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1461 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-howl/include/salt/platform.h

index d0553e7e6649c46f33a56efa375f7a98ac301828..fda0c77d47cda106887bebf89110cb898a26ca36 100644 (file)
@@ -127,7 +127,7 @@ typedef int                                         sw_result;
 
 #if !defined(SW_ENDIAN)
 
-#      if WORDS_BIGENDIAN == 1
+#      if defined(WORDS_BIGENDIAN) && WORDS_BIGENDIAN == 1
 
 #              define SW_ENDIAN        0