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

Fix problem on windows #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix problem on windows #2

wants to merge 2 commits into from

Conversation

Lectem
Copy link

@Lectem Lectem commented May 10, 2015

MAX_PATH is defined in stdlib as 260 on windows.
As some source files included stdlib and some not, it made the program crash because of different sizes of the filepath structure.
You can check it with sizeof(filepath) in romfs.c and settings.h.
Tested on MinGW latest update.

MAX_PATH is defined in stdlib as 260 on windows.
As some source files included stdlib and some not, it made the program crash because of different sizes of the filepath structure.
You can check it with sizeof(filepath) in romfs.c and settings.h.
Tested on MinGW latest update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant