diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-05 11:55:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-05 11:55:01 +0000 |
commit | ab185489bc22430ddce5a9c7112074361f0a92cb (patch) | |
tree | af53ccb9b397e31aed7b4653f67356617c0cf684 /src/microhttpd/Makefile.am | |
parent | eea55aeb1d68159879e231ebfdb223bd21bdc525 (diff) | |
download | libmicrohttpd-ab185489bc22430ddce5a9c7112074361f0a92cb.tar.gz libmicrohttpd-ab185489bc22430ddce5a9c7112074361f0a92cb.zip |
-dummy function also creates warning, simply only include file on W32
Diffstat (limited to 'src/microhttpd/Makefile.am')
-rw-r--r-- | src/microhttpd/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index 13c2fa65..4d0f81ce 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -68,8 +68,13 @@ libmicrohttpd_la_SOURCES = \ | |||
68 | mhd_locks.h mhd_sem.c \ | 68 | mhd_locks.h mhd_sem.c \ |
69 | mhd_sockets.c mhd_sockets.h \ | 69 | mhd_sockets.c mhd_sockets.h \ |
70 | mhd_itc.c mhd_itc.h \ | 70 | mhd_itc.c mhd_itc.h \ |
71 | mhd_compat.c mhd_compat.h \ | 71 | mhd_compat.h \ |
72 | response.c response.h | 72 | response.c response.h |
73 | if HAVE_W32 | ||
74 | libmicrohttpd_la_SOURCES += \ | ||
75 | mhd_compat.c | ||
76 | endif | ||
77 | |||
73 | libmicrohttpd_la_CPPFLAGS = \ | 78 | libmicrohttpd_la_CPPFLAGS = \ |
74 | $(AM_CPPFLAGS) $(MHD_LIB_CPPFLAGS) \ | 79 | $(AM_CPPFLAGS) $(MHD_LIB_CPPFLAGS) \ |
75 | -DBUILDING_MHD_LIB=1 | 80 | -DBUILDING_MHD_LIB=1 |