aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/nat/windows-nat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/nat/windows-nat.c b/gdb/nat/windows-nat.c
index 2e4c482..a82aa89 100644
--- a/gdb/nat/windows-nat.c
+++ b/gdb/nat/windows-nat.c
@@ -20,6 +20,10 @@
#include "nat/windows-nat.h"
#include "gdbsupport/common-debug.h"
+#ifdef __CYGWIN__
+#define __USEWIDE
+#endif
+
namespace windows_nat
{