From 691d8d8810898ad17e54063822cce6d13c30d3dc Mon Sep 17 00:00:00 2001 From: ygrek Date: Sat, 24 Aug 2024 22:50:12 -0400 Subject: [PATCH] wip --- config/Makefile.in | 2 +- src/utils/lib/stubs_c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/Makefile.in b/config/Makefile.in index f6734a4a..ec521eb2 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -1540,7 +1540,7 @@ pa_zog.cma: $(PA_ZOG_FILES) $(OCAMLC) -I tools/zoggy -I +camlp4 -pp "$(CAMLP4OF) -loc loc" -a -o pa_zog.cma $(PA_ZOG_FILES) -OCAMLPP=./ocamlpp.byte +OCAMLPP=./ocamlpp $(ZOGSOURCES): pa_zog.cma $(MLTSOURCES): $(OCAMLPP) diff --git a/src/utils/lib/stubs_c.c b/src/utils/lib/stubs_c.c index 295f33e7..c24bc552 100644 --- a/src/utils/lib/stubs_c.c +++ b/src/utils/lib/stubs_c.c @@ -680,7 +680,7 @@ value ml_setlcnumeric(value no) #define NETDB_BUFFER_SIZE 10000 -#if defined(_WIN32) || ( defined(__FreeBSD_version) && ( ((__FreeBSD_version >= 504102) && (__FreeBSD_version < 600000)) || (__FreeBSD_version >= 600029) ) ) +#if defined(_WIN32) || defined(__CYGWIN__) || ( defined(__FreeBSD_version) && (__FreeBSD_version >= 600029) ) #define GETHOSTBYADDR_IS_REENTRANT 1 #define GETHOSTBYNAME_IS_REENTRANT 1 #endif /* _WIN32 */