Skip to content

Commit

Permalink
utils: Fix macro for unreachable code in Windows platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <s00832113@china.huawei.com>
  • Loading branch information
Siddharth Chandrasekaran committed Aug 3, 2024
1 parent 3f343bc commit a9f4257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/utils/utils.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
//*
* Copyright (c) 2020-2024 Siddharth Chandrasekaran <sidcha.dev@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
Expand Down Expand Up @@ -135,7 +135,7 @@ extern "C" {
#define __format_printf(x, y)
#define __noreturn
#define __weak
#define __unreachable()
#define __unreachable() __assume(0)
#define likely(p) (p)
#define unlikely(p) (p)
#define isatty _isatty
Expand Down

0 comments on commit a9f4257

Please sign in to comment.