ObjFW  Check-in [76efe22e8f]

Overview
Comment:Fix compilation for Wii
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.90
Files: files | file ages | folders
SHA3-256: 76efe22e8f28a82b623f3161d835f3563acbaf2f9be1f4e7fb679fa97008d99c
User & Date: js on 2017-07-29 20:12:39
Other Links: branch diff | manifest | tags
Context
2017-07-29
20:23
Include sys/types.h before using ssize_t check-in: 0cfb61a41c user: js tags: 0.90
20:12
Fix compilation for Wii check-in: 76efe22e8f user: js tags: 0.90
19:52
Add missing import to make GCC happy check-in: 0aecf5784f user: js tags: 0.90
Changes

Modified configure.ac from [6e832b4b0d] to [d534af8b64].

1065
1066
1067
1068
1069
1070
1071






1072
1073
1074
1075
1076
1077
1078
				AC_DEFINE(HAVE_SELECT, 1,
					[Whether we have select() or similar])
				AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M,
					"OFKernelEventObserver_select.m")
			])
			;;
	esac







	AC_MSG_CHECKING(for getaddrinfo)
	AC_TRY_COMPILE([
		#include <stddef.h>
		#ifdef OF_HAVE_SYS_TYPES_H
		# include <sys/types.h>
		#endif







>
>
>
>
>
>







1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
				AC_DEFINE(HAVE_SELECT, 1,
					[Whether we have select() or similar])
				AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M,
					"OFKernelEventObserver_select.m")
			])
			;;
	esac

	AS_IF([test x"$with_wii" = x"yes"], [
		AC_DEFINE(HAVE_SELECT, 1, [Whether we have select() or similar])
		AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M,
			"OFKernelEventObserver_select.m")
	])

	AC_MSG_CHECKING(for getaddrinfo)
	AC_TRY_COMPILE([
		#include <stddef.h>
		#ifdef OF_HAVE_SYS_TYPES_H
		# include <sys/types.h>
		#endif