Skip to content

Commit cdd4cc5

Browse files
style: fix clang-format violations in fork test
1 parent 553aebf commit cdd4cc5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/tests/metacall_fork_test/source/metacall_fork_test.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ static int post_callback_fired = 0;
2323
defined(__CYGWIN__) || defined(__CYGWIN32__) || \
2424
defined(__MINGW32__) || defined(__MINGW64__)
2525

26-
#define _WIN32_WINNT 0x0600
27-
#define WIN32_LEAN_AND_MEAN
28-
#include <windows.h>
26+
#define _WIN32_WINNT 0x0600
27+
#define WIN32_LEAN_AND_MEAN
28+
#include <windows.h>
2929

30-
#define RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED 0x00000001
31-
#define RTL_CLONE_PROCESS_FLAGS_INHERIT_HANDLES 0x00000002
32-
#define RTL_CLONE_PROCESS_FLAGS_NO_SYNCHRONIZE 0x00000004
30+
#define RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED 0x00000001
31+
#define RTL_CLONE_PROCESS_FLAGS_INHERIT_HANDLES 0x00000002
32+
#define RTL_CLONE_PROCESS_FLAGS_NO_SYNCHRONIZE 0x00000004
3333

34-
#define RTL_CLONE_PARENT 0
35-
#define RTL_CLONE_CHILD 297
34+
#define RTL_CLONE_PARENT 0
35+
#define RTL_CLONE_CHILD 297
3636

3737
typedef long NTSTATUS;
3838

@@ -73,9 +73,9 @@ typedef NTSTATUS(NTAPI *RtlCloneUserProcessPtr)(
7373
HANDLE DebugPort,
7474
PRTL_USER_PROCESS_INFORMATION ProcessInformation);
7575

76-
#ifndef __MINGW32__
76+
#ifndef __MINGW32__
7777
typedef long pid_t;
78-
#endif
78+
#endif
7979

8080
pid_t fork()
8181
{

0 commit comments

Comments
 (0)