Pull the RtsSymbolVal typedef and rtsSyms[] array out into a separate
header and C file. No change in functionality.
Details
Details
validate
Diff Detail
Diff Detail
- Repository
- rGHC Glasgow Haskell Compiler
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
rts/RtsSymbols.c | ||
---|---|---|
49 | We don't support Cygwin builds anymore, So these can be dropped. Only msys2/mingw is supported for Windows. |
Comment Actions
This breaks Windows 64-bit (didn't try 32-bit) build immediately.
Do anybody test things on Windows before committing?
Comment Actions
To cure things one should add
#if defined(mingw32_HOST_OS)
#include <sys/stat.h>
#include <io.h>
#include <windows.h>
#include <shfolder.h> /* SHGetFolderPathW */
#endif
to RtsSymbols.c
The line
#include <shfolder.h> /* SHGetFolderPathW */
(and, perhaps, some others) can be removed from Linker.c