-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib9: build failure on mingw32 #9472
Comments
Which version of Go are you building? |
I would like to try and reproduce your error. How can I do that? Alex |
git HEAD. latest of mingw32 on 32bit On 12/31/14, Ian Lance Taylor notifications@github.com wrote:
|
Everything builds properly here. I use C:\go\root\src>gcc --version |
I got build error on windows vista. gcc (GCC) 4.8.1 |
I do not know what your problem is. We need to understand what is happening here before we can decide what to do next. |
I can't build lib9 because struct timespec is redefined in libc.h On 12/31/14, alexbrainman notifications@github.com wrote:
|
above is log with make.bat On 12/31/14, Yasuhiro MATSUMOTO mattn.jp@gmail.com wrote:
|
Try this:
#include <unistd.h>
#ifdef _WIN32
#if !defined(_WIN64) && !defined(__MINGW64_VERSION_MAJOR)
struct timespec {
int tv_sec;
long tv_nsec;
};
#endif
#endif
|
The text was updated successfully, but these errors were encountered: