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

FreeBSD and HURD support #58

Merged
merged 3 commits into from Nov 18, 2014
Merged

FreeBSD and HURD support #58

merged 3 commits into from Nov 18, 2014

Conversation

josch
Copy link
Contributor

@josch josch commented Nov 17, 2014

It seems that the existing preprocessor variable VCMI_LINUX is only used to switch XDG support on and off. But linux is only the kernel and no description for the userland (which you already realized because of the special casing you do for android) and in addition XDG is not limited to linux. So a better fitting name for that preprocessor variable would be VCMI_XDG which would be switched on on platforms with XDG support. Some linux based platforms are part of those. The BSDs and GNU/HURD based systems are others.

Building on top of that it seems that vcmi builds with only minor modifications on kFreeBSD and HURD. This pull request implements those changes.

 - the variable is only used to enable XDG support
 - XDG is not exclusive to linux
IvanSavenko added a commit that referenced this pull request Nov 18, 2014
@IvanSavenko IvanSavenko merged commit ffd5867 into vcmi:develop Nov 18, 2014
@josch josch deleted the kFreeBSDandHurdSupport branch November 18, 2014 17:26
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.

None yet

2 participants