summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-03-15 12:30:14 -0400
committerRuss Cox <rsc@golang.org>2013-03-15 12:30:14 -0400
commit1dbb65713fa8e11e08aa976ade96b26d3496f078 (patch)
treebdc36c5be50e709c76bf7c53bebf18762f1d8e82 /include
parent4ab6b59948c5d0d4b9cdd2060ec4b13078fff8e0 (diff)
downloadgo-1dbb65713fa8e11e08aa976ade96b26d3496f078.tar.gz
build: fix for 32-bit windows builds on 64-bit windows system
Thanks to jon.forums@ for the fix. Fixes issue 5051. R=golang-dev, minux.ma CC=golang-dev https://codereview.appspot.com/7813045
Diffstat (limited to 'include')
-rw-r--r--include/libc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc.h b/include/libc.h
index 5fd56b8bf..fab1532f2 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -308,7 +308,7 @@ extern void flagprint(int);
#ifdef _WIN32
-#ifndef _WIN64
+#if !defined(_WIN64) && !defined(__MINGW64_VERSION_MAJOR)
struct timespec {
int tv_sec;
long tv_nsec;