summaryrefslogtreecommitdiff
path: root/nt/Makefile.in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-10-24 20:45:56 +0300
committerEli Zaretskii <eliz@gnu.org>2021-10-24 20:45:56 +0300
commit3bad61e1ac5244efb4fff6062763ea759e0aafec (patch)
treebafb349ba79b3eee04f58ef53936a04f0797f803 /nt/Makefile.in
parentbeb265450c01b3e3188f844ff0fb961d9df79071 (diff)
downloademacs-3bad61e1ac5244efb4fff6062763ea759e0aafec.tar.gz
Fix compilation errors with MinGW64 GCC 11
* lib-src/ntlib.c (IS_DIRECTORY_SEP): Remove redundant macro. * lib-src/ntlib.c (DEFER_MS_W32_H): * nt/addpm.c (DEFER_MS_W32_H): * nt/cmdproxy.c (DEFER_MS_W32_H): * nt/ddeclient.c (DEFER_MS_W32_H): * nt/preprep.c (DEFER_MS_W32_H): * nt/runemacs.c (DEFER_MS_W32_H): Fix a typo. * nt/Makefile.in (BASE_CFLAGS): Add -I switches to pick up config.h and lib/attribute.h.
Diffstat (limited to 'nt/Makefile.in')
-rw-r--r--nt/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/Makefile.in b/nt/Makefile.in
index 3274ff924f9..811680da851 100644
--- a/nt/Makefile.in
+++ b/nt/Makefile.in
@@ -144,6 +144,7 @@ LIBS_ADDPM = -lole32 -luuid
## Compilation and linking flags
BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
+ -I../src -I${srcdir}/../src -I../lib -I${srcdir}/../lib \
-I. -I${srcdir}
ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}