From fa155727df4f02c60bff204ddce4d35828535fcf Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 12 Jul 2019 11:49:39 -0600 Subject: [PATCH] cs: unbreak Windows build Add pe-made "cs_config.h" for Windows. --- racket/src/worksp/cs/Makefile | 2 +- racket/src/worksp/cs/cs_config.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 racket/src/worksp/cs/cs_config.h diff --git a/racket/src/worksp/cs/Makefile b/racket/src/worksp/cs/Makefile index 211431e217..d5176dc9d1 100644 --- a/racket/src/worksp/cs/Makefile +++ b/racket/src/worksp/cs/Makefile @@ -1,5 +1,5 @@ -INCS = /I.. /I..\..\rktio /I..\librktio /I$(SCHEME_DIR)\$(MACHINE)\boot\$(MACHINE) +INCS = /I.. /I..\..\rktio /I..\librktio /I..\..\worksp\cs /I$(SCHEME_DIR)\$(MACHINE)\boot\$(MACHINE) RKTIO_LIB = ..\..\build\librktio.lib BASE_WIN32_LIBS = WS2_32.lib Shell32.lib User32.lib diff --git a/racket/src/worksp/cs/cs_config.h b/racket/src/worksp/cs/cs_config.h new file mode 100644 index 0000000000..0be2c115e1 --- /dev/null +++ b/racket/src/worksp/cs/cs_config.h @@ -0,0 +1,5 @@ +#ifdef _WIN64 +# define SIZEOF_VOID_P 8 +#else +# define SIZEOF_VOID_P 4 +#endif