Skip to content

Commit

Permalink
libcxx: Split lines
Browse files Browse the repository at this point in the history
(cherry picked from commit 79d588c)
Signed-off-by: LIU Hao <[email protected]>
  • Loading branch information
lhmouse committed Nov 17, 2024
1 parent 03b35a4 commit 8841a10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mcfgthread/libcxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#include "gthr_aux.h"
#include <errno.h>

__MCF_CXX(namespace std { extern "C" {)
__MCF_CXX(namespace std {)
__MCF_CXX(extern "C" {)
#ifndef __MCF_LIBCXX_IMPORT
# define __MCF_LIBCXX_IMPORT
# define __MCF_LIBCXX_INLINE __MCF_GNU_INLINE
Expand Down Expand Up @@ -631,5 +632,6 @@ __MCF_libcxx_thread_yield(void) __MCF_noexcept
_MCF_yield();
}

__MCF_CXX(} }) /* extern "C"; namespace std */
__MCF_CXX(}) /* extern "C" */
__MCF_CXX(}) /* namespace std */
#endif /* __MCFGTHREAD_LIBCXX_ */

0 comments on commit 8841a10

Please sign in to comment.