| Index: mojo/public/system/core.h
|
| diff --git a/mojo/public/system/core.h b/mojo/public/system/core.h
|
| index cb405ae1e089d54f8eb37817645e714412b2522f..58b1babde62d7b13d37a84598ade5a7cf941a4a3 100644
|
| --- a/mojo/public/system/core.h
|
| +++ b/mojo/public/system/core.h
|
| @@ -9,6 +9,8 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include "mojo/public/system/macros.h"
|
| +
|
| // Types -----------------------------------------------------------------------
|
|
|
| // TODO(vtl): Notes: Use of undefined flags will lead to undefined behavior
|
| @@ -253,12 +255,6 @@ 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 };
|
|
|