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

windows.h is broken in last release - no win32 subfolder #1043

Open
GitMensch opened this issue Aug 23, 2024 · 3 comments
Open

windows.h is broken in last release - no win32 subfolder #1043

GitMensch opened this issue Aug 23, 2024 · 3 comments

Comments

@GitMensch
Copy link
Contributor

#ifndef RC_INVOKED
#    include <limits.h>
#    include <stdarg.h>

/* microsoft includes these in WINNT.H and we have to too for compatibility */
#    include <ctype.h>
#    include <string.h>
#    include <stdlib.h>

/* Base definitions */
#    include <win32/base.h>

/* WIN32 messages */
#    include <win32/messages.h>

#endif /* RC_INVOKED */

/* WIN32 definitions */
#include <win32/defines.h>

#ifndef RC_INVOKED
/* WIN32 structures */
#    include <win32/structur.h>

/* WIN32 functions */
#    include <win32/function.h>

/* WIN32 error codes */
#    include <win32/errors.h>

/* How do we get the VM page size on NT? */
#    ifndef vm_page_size
#        define vm_page_size 4096
#    endif

but there is no subfolder win32 at all, which breaks most of the "win" headers.

Is there an older version that would be reasonable to copy the include/win32 folder from?

@LADSoft
Copy link
Owner

LADSoft commented Aug 24, 2024

should be in orangec\include\c\win32*.*... looks though like the zip files may not have it right now. I'll fix that in a bit... for now you can copy the contents of the c:\orangec\src\clibs\platform\win32\inc directory into \orangec\include\c\win32.... or easier you can go to the command line into c:\orangec\src\clibs and use 'omake copyfiles' to populate it. not sure whether that will work if you moved the repo to a subdirectory though.... another possibility is if you run the windows installer that should populate it.

@LADSoft
Copy link
Owner

LADSoft commented Aug 30, 2024

i wasn't able to duplicate this, can you give me an idea of how you installed it?

@GitMensch
Copy link
Contributor Author

GitMensch commented Aug 30, 2024 via email

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