ObjFW  Check-in [0a13f77dc5]

Overview
Comment:Fix compilation for Wii
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a13f77dc5c049db05d41019554169c985076f4931e6e22842a80b9dc37feded
User & Date: js on 2017-07-29 20:12:56
Other Links: manifest | tags
Context
2017-07-29
20:23
Include sys/types.h before using ssize_t check-in: 062722e0b3 user: js tags: trunk
20:12
Fix compilation for Wii check-in: 0a13f77dc5 user: js tags: trunk
19:53
Add missing import to make GCC happy check-in: b740a5bba1 user: js tags: trunk
Changes

Modified configure.ac from [b99126bc28] to [4e7723bbdd].

1066
1067
1068
1069
1070
1071
1072






1073
1074
1075
1076
1077
1078
1079
				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







>
>
>
>
>
>







1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
				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