summaryrefslogtreecommitdiff
path: root/lib/libc/include/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/include/assert.h')
-rw-r--r--lib/libc/include/assert.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/libc/include/assert.h b/lib/libc/include/assert.h
deleted file mode 100644
index 8b6252e..0000000
--- a/lib/libc/include/assert.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2020 The Fuchsia Authors
-//
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file or at
-// https://opensource.org/licenses/MIT
-
-#pragma once
-
-#include <zircon/assert.h>
-
-#ifdef NDEBUG
-#define assert(expr) ((void)0)
-#else
-#define assert(expr) ZX_ASSERT(expr)
-#endif
-
-// make sure static_assert() is defined, even in C
-#if !defined(__cplusplus) && !defined(static_assert)
-#define static_assert(e, msg) _Static_assert(e, msg)
-#endif