Skip to content

Commit 9028c8a

Browse files
committed
Attempt to fix weird build issues with CYGWIN and MacOS (fixes #88)
1 parent b37fc77 commit 9028c8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/windbg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// accompanying file LICENSE_1_0.txt or copy at
55
// http://www.boost.org/LICENSE_1_0.txt)
66

7-
#if defined(__CYGWIN__) && !defined(_GNU_SOURCE)
7+
#ifndef _GNU_SOURCE
88
# define _GNU_SOURCE
99
#endif
1010

src/windbg_cached.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// accompanying file LICENSE_1_0.txt or copy at
55
// http://www.boost.org/LICENSE_1_0.txt)
66

7-
#if defined(__CYGWIN__) && !defined(_GNU_SOURCE)
7+
#ifndef _GNU_SOURCE
88
# define _GNU_SOURCE
99
#endif
1010

0 commit comments

Comments
 (0)