ObjFW  Check-in [677e376bc9]

Overview
Comment:configure: MinGW no longer provides BOOL for ObjC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 677e376bc99f9a21443cd97d792cc3df521d9b57442d5f1c2add8b16c16bd012
User & Date: js on 2018-10-27 21:06:30
Other Links: manifest | tags
Context
2018-10-27
21:14
Fix compilation with newer MinGW-w64 versions check-in: 0036c4c22e user: js tags: trunk
21:06
configure: MinGW no longer provides BOOL for ObjC check-in: 677e376bc9 user: js tags: trunk
20:39
README-WINDOWS.md: Add mintty to update first list check-in: 95fed9d15c user: js tags: trunk
Changes

Modified configure.ac from [e419484465] to [45fb399203].

1232
1233
1234
1235
1236
1237
1238


1239
1240
1241
1242
1243
1244
1245
		AC_DEFINE(OF_HAVE_NETINET_TCP_H, 1,
			[Whether we have netinet/tcp.h])
	])
	AC_CHECK_HEADERS([arpa/inet.h netdb.h])

	AC_CHECK_MEMBER([struct sockaddr_in6.sin6_addr], [
		AC_EGREP_CPP(egrep_cpp_yes, [


			#ifdef OF_HAVE_SYS_SOCKET_H
			# include <sys/socket.h>
			#endif

			#ifdef _WIN32
			# ifdef __MINGW32__
			#  include <_mingw.h>







>
>







1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
		AC_DEFINE(OF_HAVE_NETINET_TCP_H, 1,
			[Whether we have netinet/tcp.h])
	])
	AC_CHECK_HEADERS([arpa/inet.h netdb.h])

	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

			#ifdef _WIN32
			# ifdef __MINGW32__
			#  include <_mingw.h>
1255
1256
1257
1258
1259
1260
1261


1262
1263
1264
1265
1266
1267
1268
			egrep_cpp_yes
			#endif
		], [
			AC_DEFINE(OF_HAVE_IPV6, 1, [Whether we have IPv6])
		])
	], [
	], [


		#ifdef OF_HAVE_NETINET_IN_H
		# include <netinet/in.h>
		#endif

		#ifdef _WIN32
		# ifdef __MINGW32__
		#  include <_mingw.h>







>
>







1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
			egrep_cpp_yes
			#endif
		], [
			AC_DEFINE(OF_HAVE_IPV6, 1, [Whether we have IPv6])
		])
	], [
	], [
		typedef int BOOL;

		#ifdef OF_HAVE_NETINET_IN_H
		# include <netinet/in.h>
		#endif

		#ifdef _WIN32
		# ifdef __MINGW32__
		#  include <_mingw.h>