Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Changes in order to get it to compile for Microsoft windows compilers #30

Closed
wants to merge 14 commits into from

Conversation

jimsch
Copy link
Contributor

@jimsch jimsch commented May 27, 2015

A set of changes to get it to compile with Visual Studio. No Visual Studio solution files have been included, you will need to build your own.

Some changes were needed to get a built working under Microsoft Windows
compilers/runtimes.

* Change a couple of header files
* Change the use of inline to be a windows keyword if using a windows
compiler.
* Create a definition for ssize_t in windows as this is a POSIX
constructu
See previous comment.
@hildjj
Copy link
Contributor

hildjj commented May 28, 2015

Note: you should be able to generate visual studio files with cmake. Something like:

cmake .. -G "Visual Studio 10 Win64"

@jimsch
Copy link
Contributor Author

jimsch commented May 28, 2015

Your are making an assumption that I am on a system that has cmake. I am running on pure windows at the moment. However adding files to a new project is trivial so I just did not worry about it.

@jimsch
Copy link
Contributor Author

jimsch commented May 28, 2015

This change does address Issue #26 for windows systems.

@hildjj
Copy link
Contributor

hildjj commented May 28, 2015

Download cmake Win32 binaries here: http://www.cmake.org/download/

we could also checkin the outputs I suppose.

Changes to get the cmake build system do the right thing on windows
Start making changes to deal with the sizeof(int) != 8 problem
Add cmake file
@cabo
Copy link
Owner

cabo commented Jul 22, 2015

I would like not to mix the 64-bit fixes (which are needed for all systems) with the fixes around lacking unistd.h etc.

Merge to current
Delete #1 - emacs temp file
Fix merge problem
Still should do a rename of this macro to be more correct
@jimsch
Copy link
Contributor Author

jimsch commented Jul 28, 2015

Created a new pull request with just the header file changes.

@jimsch jimsch closed this May 1, 2020
@jimsch jimsch deleted the windows branch May 1, 2020 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants