| Index: sandbox/linux/seccomp-bpf/sandbox_bpf.h
|
| diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf.h b/sandbox/linux/seccomp-bpf/sandbox_bpf.h
|
| index 549796355bcba29ea82721a6156a1e1d75144453..0e781ea7f4d7bc152e79e20a97ac733ea23f5468 100644
|
| --- a/sandbox/linux/seccomp-bpf/sandbox_bpf.h
|
| +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf.h
|
| @@ -165,6 +165,12 @@
|
| TypeName(); \
|
| TypeName(const TypeName&); \
|
| void operator=(const TypeName&)
|
| +
|
| +template <bool>
|
| +struct CompileAssert {
|
| +};
|
| +#define COMPILE_ASSERT(expr, msg) \
|
| + typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
|
| #endif
|
|
|
| #include "sandbox/linux/seccomp-bpf/die.h"
|
|
|