Commit e7c5f4f0 by Jamie Madill Committed by Commit Bot

Fix compilation on mips devices.

We need to include stddef explicity for size_t. BUG=angleproject:2167 Change-Id: I66e75b8d29e94aa9b8427e39827a0267649bb0ec Reviewed-on: https://chromium-review.googlesource.com/743702 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 660b28cc
...@@ -91,6 +91,11 @@ ...@@ -91,6 +91,11 @@
#define ANGLE_USE_SSE #define ANGLE_USE_SSE
#endif #endif
// Mips devices need to include stddef for size_t.
#if defined(__mips__)
#include <stddef.h>
#endif
// The MemoryBarrier function name collides with a macro under Windows // The MemoryBarrier function name collides with a macro under Windows
// We will undef the macro so that the function name does not get replaced // We will undef the macro so that the function name does not get replaced
#undef MemoryBarrier #undef MemoryBarrier
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment