Skip to content

Commit 6618409

Browse files
authored
Merge pull request #198 from iahung2/master
Update main.cpp
2 parents d63adf7 + a28249e commit 6618409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/console/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ int main(int argc, char *argv[]) {
442442
return gsb_last_error ? gsb_last_line : 0;
443443
}
444444

445-
#if defined(__GNUC__) && !defined(__MACH__) && !defined(_Win32)
445+
#if defined(__GNUC__) && !defined(__MACH__) && !defined(_Win32) && !defined(__CYGWIN__)
446446
// for analysing excessive malloc calls using kdbg
447447
extern "C" void *__libc_malloc(size_t size);
448448
void *malloc(size_t size) {

0 commit comments

Comments
 (0)