[Github-comments] [geany/geany] WIP: Meson build system (#2761)
Thomas Martitz
notifications at xxxxx
Tue Dec 7 22:51:21 UTC 2021
@kugel- commented on this pull request.
> + ['memcpy', '#include <string.h>'],
+ ['mkstemp', '#include <stdlib.h>'],
+ ['regcomp', '#include <regex.h>'],
+ ['socket', '#include <sys/socket.h>'],
+ ['strerror', '#include <string.h>'],
+ ['strstr', '#include <string.h>'],
+ ['wcrtomb', '#include <wchar.h>'],
+ ['wcscoll', '#include <wchar.h>'],
+]
+
+foreach h : check_headers
+ define = 'HAVE_' + h.underscorify().to_upper()
+ if cc.has_header(h)
+ cdata.set(define, 1)
+ else
+ cdata.set(define, false)
I tested on Windows at last. I'll check.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761#discussion_r764421191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211207/0b65fe88/attachment.htm>
More information about the Github-comments
mailing list