Skip to content
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

Problems of cross compiling with Linux and targeting Windows #147

Closed
GreenYun opened this issue Nov 26, 2020 · 0 comments · Fixed by #151
Closed

Problems of cross compiling with Linux and targeting Windows #147

GreenYun opened this issue Nov 26, 2020 · 0 comments · Fixed by #151

Comments

@GreenYun
Copy link

OpenWSMan provides some libc functions when detecting that specific headers not found or WIN32 defined. But they're conflicting when building by MinGW.
MinGW provides almost full glibc functions as standard library, this makes TIME_WITH_SYS_TIME defined and the code including such as sys/time.h, while WIN32 alse defined, self-defined type like timezone is alse compiled. Duplicated type error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant