From e22beabaf1692abdb988b99ebfd7f16648f24d4e Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Wed, 27 Jun 2012 22:24:43 +0000 Subject: [PATCH] [MIPS] Adding support for MIPS architecture for WebRTC. Small change to typedefs.h to enable MIPS Little Endian port. TBR=niklas.enbom@webrtc.org BUG=https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome Review URL: https://webrtc-codereview.appspot.com/679005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2451 4adac7df-926f-26a2-2b94-8c16560cd09d --- AUTHORS | 3 ++- src/typedefs.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index c3d75d6574..2ce0f1c58d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -3,4 +3,5 @@ Google Inc. Mozilla Foundation -Ben Strong \ No newline at end of file +Ben Strong +Petar Jovanovic diff --git a/src/typedefs.h b/src/typedefs.h index 53db408c8c..b21d9c756a 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -48,6 +48,10 @@ #define WEBRTC_ARCH_32_BITS #define WEBRTC_ARCH_LITTLE_ENDIAN #define WEBRTC_LITTLE_ENDIAN +#elif defined(__MIPSEL__) +#define WEBRTC_ARCH_32_BITS +#define WEBRTC_ARCH_LITTLE_ENDIAN +#define WEBRTC_LITTLE_ENDIAN #else #error Please add support for your architecture in typedefs.h #endif