summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-compat-howl/include/salt/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-compat-howl/include/salt/platform.h b/avahi-compat-howl/include/salt/platform.h
index d0553e7..fda0c77 100644
--- a/avahi-compat-howl/include/salt/platform.h
+++ b/avahi-compat-howl/include/salt/platform.h
@@ -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