Fix endian define

Test: compilation
Bug: 36815380
Change-Id: I6a1a89dfcf8339faa07509b1e058250ad2e86f1d
diff --git a/include/hardware/audio_alsaops.h b/include/hardware/audio_alsaops.h
index 0d266ff..e994924 100644
--- a/include/hardware/audio_alsaops.h
+++ b/include/hardware/audio_alsaops.h
@@ -37,7 +37,7 @@
 static inline enum pcm_format pcm_format_from_audio_format(audio_format_t format)
 {
     switch (format) {
-#ifdef HAVE_BIG_ENDIAN
+#if HAVE_BIG_ENDIAN
     case AUDIO_FORMAT_PCM_16_BIT:
         return PCM_FORMAT_S16_BE;
     case AUDIO_FORMAT_PCM_24_BIT_PACKED:
@@ -72,7 +72,7 @@
 static inline audio_format_t audio_format_from_pcm_format(enum pcm_format format)
 {
     switch (format) {
-#ifdef HAVE_BIG_ENDIAN
+#if HAVE_BIG_ENDIAN
     case PCM_FORMAT_S16_BE:
         return AUDIO_FORMAT_PCM_16_BIT;
     case PCM_FORMAT_S24_3BE: