Support __EMSCRIPTEN__ in rtc_base.

Bug: None
Change-Id: Ie0497e268b93ad15a164db85e8cefdb823d64a65
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140863
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28307}
This commit is contained in:
Mirko Bonadei
2019-06-18 13:46:42 +02:00
committed by Commit Bot
parent 0c0c9693b6
commit b028c6a8ff
2 changed files with 6 additions and 1 deletions

View File

@ -47,6 +47,9 @@
#elif defined(__pnacl__)
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(__EMSCRIPTEN__)
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#else
#error Please add support for your architecture in rtc_base/system/arch.h
#endif