WEBRTC_{BIG, LITTLE}_ENDIAN -> WEBRTC_ARCH_{BIG, LITTLE}_ENDIAN.

Mostly to remove a long-standing TODO...

TESTED=trybots
R=turaj@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2369005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5013 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/utility/source/rtp_dump_impl.cc b/webrtc/modules/utility/source/rtp_dump_impl.cc
index 1f8715d..39316f4 100644
--- a/webrtc/modules/utility/source/rtp_dump_impl.cc
+++ b/webrtc/modules/utility/source/rtp_dump_impl.cc
@@ -245,37 +245,25 @@
     gettimeofday(&tv, &tz);
     val = tv.tv_sec * 1000 + tv.tv_usec / 1000;
     return val;
-#else
-    #error Either _WIN32 or LINUX or WEBRTC_MAC has to be defined!
-    assert(false);
-    return 0;
 #endif
 }
 
 inline uint32_t RtpDumpImpl::RtpDumpHtonl(uint32_t x) const
 {
-#if defined(WEBRTC_BIG_ENDIAN)
+#if defined(WEBRTC_ARCH_BIG_ENDIAN)
     return x;
-#elif defined(WEBRTC_LITTLE_ENDIAN)
+#elif defined(WEBRTC_ARCH_LITTLE_ENDIAN)
     return (x >> 24) + ((((x >> 16) & 0xFF) << 8) + ((((x >> 8) & 0xFF) << 16) +
                                                      ((x & 0xFF) << 24)));
-#else
-#error Either WEBRTC_BIG_ENDIAN or WEBRTC_LITTLE_ENDIAN has to be defined!
-    assert(false);
-    return 0;
 #endif
 }
 
 inline uint16_t RtpDumpImpl::RtpDumpHtons(uint16_t x) const
 {
-#if defined(WEBRTC_BIG_ENDIAN)
+#if defined(WEBRTC_ARCH_BIG_ENDIAN)
     return x;
-#elif defined(WEBRTC_LITTLE_ENDIAN)
+#elif defined(WEBRTC_ARCH_LITTLE_ENDIAN)
     return (x >> 8) + ((x & 0xFF) << 8);
-#else
-    #error Either WEBRTC_BIG_ENDIAN or WEBRTC_LITTLE_ENDIAN has to be defined!
-    assert(false);
-    return 0;
 #endif
 }
 }  // namespace webrtc