| Index: mojo/public/system/core.h
|
| diff --git a/mojo/public/system/core.h b/mojo/public/system/core.h
|
| index 9a53a785b23b6965e2eb9883f7e8508d69437888..88f2af5c9423a87672f80df577fd449be83bc472 100644
|
| --- a/mojo/public/system/core.h
|
| +++ b/mojo/public/system/core.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include "mojo/public/system/macros.h"
|
| #include "mojo/public/system/system_export.h"
|
|
|
| // Types -----------------------------------------------------------------------
|
| @@ -259,12 +260,6 @@ MOJO_SYSTEM_EXPORT MojoResult MojoReadMessage(MojoHandle handle,
|
|
|
| namespace mojo {
|
|
|
| -// Used to assert things at compile time. (Use our own copy instead of
|
| -// Chromium's, since we can't depend on Chromium.)
|
| -template <bool> struct CompileAssert {};
|
| -#define MOJO_COMPILE_ASSERT(expr, msg) \
|
| - typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
|
| -
|
| struct Handle { MojoHandle value; };
|
|
|
| const Handle kInvalidHandle = { MOJO_HANDLE_INVALID };
|
|
|