-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable IPv6 in meson build of libmicrohttpd under Windows
- Loading branch information
1 parent
e53edc8
commit b2a756b
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- libmicrohttpd-0.9.76_orig/meson.build 2024-10-08 15:53:53.370828250 +0400 | ||
+++ libmicrohttpd-0.9.76/meson.build 2024-10-08 16:23:24.985668690 +0400 | ||
@@ -77,7 +77,11 @@ | ||
endforeach | ||
|
||
cdata.set('HAVE_ASSERT', cc.has_header_symbol('assert.h', 'assert')) | ||
-cdata.set10('HAVE_INET6', cc.has_header_symbol('netinet/in.h', 'struct in6_addr')) | ||
+if host_machine.system() == 'windows' | ||
+ cdata.set10('HAVE_INET6', 1) | ||
+else | ||
+ cdata.set10('HAVE_INET6', cc.has_header_symbol('netinet/in.h', 'struct in6_addr')) | ||
+endif | ||
|
||
functions = [ | ||
'accept4', |