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

Replace @windowsxp_only macro with runtime check #11133

Merged
merged 2 commits into from
May 6, 2015
Merged

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented May 5, 2015

fixes #11108

@@ -56,11 +56,3 @@ end
@unix_only windows_version() = (0,0)

WINDOWS_XP_VER = (5,1)
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(5,2) is also a Windows XP version (Vista started with 6.0)
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

seems like a pre-existing bug, but maybe better to compare against WINDOWS_VISTA_VER?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, no kidding, guess my wine thinks it's either server 2003 or xp 64. I don't have either of those handy aside from in Wine, so I think comparing to vista does make sense. Will change that.

XP 64 or Server 2003 are version 5.2, apparently
@tkelman
Copy link
Contributor Author

tkelman commented May 6, 2015

Merging. @vtjnash I trust you'll open a new issue and/or let me know if there are any other problems with this.

tkelman added a commit that referenced this pull request May 6, 2015
Replace @windowsxp_only macro with runtime check
@tkelman tkelman merged commit 900cf12 into master May 6, 2015
@tkelman tkelman deleted the tk/fix11108 branch May 6, 2015 08:29
@vtjnash
Copy link
Sponsor Member

vtjnash commented May 6, 2015

looked good. i was assuming you would hit merge when travis finished.

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 this pull request may close these issues.

windows cross-compile error in symlink function definition
3 participants