Skip to content

Commit 42b3f80

Browse files
[PE2MACHO] Theoretically fix MSVC build
1 parent 292a376 commit 42b3f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/tools/pe2macho/pe2macho.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "macho.h"
1919

2020
#ifdef _MSC_VER
21-
#define __builtin_ctz(x) __tzcnt_u32(x)
21+
#define __builtin_ctz(x) _tzcnt_u32(x)
2222
#endif
2323

2424
#define HEADER_ADDITIONAL_BYTES 0x1000 // 1 page (UEFI)

0 commit comments

Comments
 (0)