* src/vmcore/system.h (system_abort): New function.
(system_strerror): Likewise.
AC_FUNC_MMAP
dnl keep them alpha-sorted!
+AC_CHECK_FUNCS([abort])
AC_CHECK_FUNCS([accept])
AC_CHECK_FUNCS([access])
AC_CHECK_FUNCS([atoi])
/* inline functions ***********************************************************/
+inline static void system_abort(void)
+{
+#if defined(HAVE_ABORT)
+ abort();
+#else
+# error abort not available
+#endif
+}
+
inline static int system_accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen)
{
#if defined(HAVE_ACCEPT)
#endif
}
+inline static char *system_strerror(int errnum)
+{
+#if defined(HAVE_STRERROR)
+ return strerror(errnum);
+#else
+# error strerror not available
+#endif
+}
+
inline static size_t system_strlen(const char *s)
{
#if defined(HAVE_STRLEN)