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

Reorganize a few lines from common.h to build under windows VS2015 #15

Open
Cayleth opened this issue Aug 20, 2017 · 1 comment
Open

Comments

@Cayleth
Copy link

Cayleth commented Aug 20, 2017

in common.h, when compiling on my platform from the visual studio solution, the #ifndef DONT_INCLUDE_SDL block, which #includes the SDL headers needs to go BEFORE the #include <curses.h>, so that underscore underscore WIN32 underscore underscore gets defined, otherwise curses.h doesn't define a large number of functions, resulting in thousands of compile errors.

@Schmel924
Copy link

Well, i just uncomment define DONT_INCLUDE_SDL in common.h and live with it. I also inserted #define __USE_MINGW_ANSI_STDIO 0 in includes.h.
I think this address this issue, but may be not right way of doing this.

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

No branches or pull requests

2 participants