Skip to content

Commit 62ee732

Browse files
committed
Fix __builtin_expect.
1 parent 6294d91 commit 62ee732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/macros/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define __builtin_trap() __break(1)
4444
#endif
4545

46-
#define __builtin_expect(value, expectation) (false)
46+
#define __builtin_expect(value, expectation) (value)
4747

4848
#endif // LIBC_COMPILER_IS_MSVC
4949

0 commit comments

Comments
 (0)