Skip to content

Commit 9039603

Browse files
committed
CONSOLE: fix win32 console build
1 parent 24ea81c commit 9039603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/console/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ int process_options(int argc, char *argv[]) {
253253
return 1;
254254
}
255255

256-
#if defined(__GNUC__) && !defined(__MACH__)
256+
#if defined(__GNUC__) && !defined(__MACH__) && !defined(_Win32)
257257
// for analysing excessive malloc calls using kdbg
258258
extern void *__libc_malloc(size_t size);
259259
void *malloc(size_t size) {

0 commit comments

Comments
 (0)