From 0f1b4880935a4eddef135d4d32d2240196184e9f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 15 Mar 2013 12:30:14 -0400 Subject: [PATCH] build: fix for 32-bit windows builds on 64-bit windows system Thanks to jon.forums@ for the fix. Fixes #5051. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7813045 --- include/libc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libc.h b/include/libc.h index 5fd56b8bfe..fab1532f22 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; -- 2.50.0