We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<assert.h>
1 parent 280b04f commit 65825cdCopy full SHA for 65825cd
libc/src/__support/libc_assert.h
@@ -10,7 +10,7 @@
10
#define LLVM_LIBC_SRC___SUPPORT_LIBC_ASSERT_H
11
12
#include "src/__support/macros/config.h"
13
-#ifdef LIBC_COPT_USE_C_ASSERT
+#if defined(LIBC_COPT_USE_C_ASSERT) || !defined(LIBC_FULL_BUILD)
14
15
// The build is configured to just use the public <assert.h> API
16
// for libc's internal assertions.
libc/src/__support/threads/linux/raw_mutex.h
@@ -13,6 +13,7 @@
#include "src/__support/libc_assert.h"
#include "src/__support/macros/attributes.h"
+#include "src/__support/macros/optimization.h"
17
#include "src/__support/threads/linux/futex_utils.h"
18
#include "src/__support/threads/linux/futex_word.h"
19
#include "src/__support/threads/sleep.h"
0 commit comments