summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@heap.zone>2018-10-27 23:06:30 +0200
committerJonathan Schleifer <js@heap.zone>2018-10-27 23:06:30 +0200
commite3758faac30af1a20180632f6973516cbfa99356 (patch)
tree360d84fce413c716f6abd2fa567ba33fc80c71e9
parentbc0c30404ccbad67adbd6664dcd6a41f4206c997 (diff)
configure: MinGW no longer provides BOOL for ObjC
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 15ab2ae2..39fecc53 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1236,6 +1236,8 @@ AS_IF([test x"$enable_sockets" != x"no"], [
AC_CHECK_MEMBER([struct sockaddr_in6.sin6_addr], [
AC_EGREP_CPP(egrep_cpp_yes, [
+ typedef int BOOL;
+
#ifdef OF_HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
@@ -1259,6 +1261,8 @@ AS_IF([test x"$enable_sockets" != x"no"], [
])
], [
], [
+ typedef int BOOL;
+
#ifdef OF_HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif