mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 22:37:42 -04:00
should work a little bit better with solaris compiler
svn:r111
This commit is contained in:
parent
44d88ea606
commit
6db3da27e2
@ -1,6 +1,5 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
||||||
|
|
||||||
CFLAGS = -Wall @CFLAGS@
|
|
||||||
SUBDIRS = . sample test
|
SUBDIRS = . sample test
|
||||||
|
|
||||||
EXTRA_DIST = acconfig.h err.c event.h evsignal.h event.3 kqueue.c \
|
EXTRA_DIST = acconfig.h err.c event.h evsignal.h event.3 kqueue.c \
|
||||||
|
2
buffer.c
2
buffer.c
@ -174,7 +174,7 @@ evbuffer_remove(struct evbuffer *buf, void *data, size_t datlen)
|
|||||||
|
|
||||||
/* Adds data to an event buffer */
|
/* Adds data to an event buffer */
|
||||||
|
|
||||||
static __inline void
|
static inline void
|
||||||
evbuffer_align(struct evbuffer *buf)
|
evbuffer_align(struct evbuffer *buf)
|
||||||
{
|
{
|
||||||
memmove(buf->orig_buffer, buf->buffer, buf->off);
|
memmove(buf->orig_buffer, buf->buffer, buf->off);
|
||||||
|
@ -17,6 +17,12 @@ AC_PROG_RANLIB
|
|||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
|
||||||
|
AC_PROG_GCC_TRADITIONAL
|
||||||
|
if test "$GCC" = yes ; then
|
||||||
|
CFLAGS="$CFLAGS -Wall"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dnl Check for optional stuff
|
dnl Check for optional stuff
|
||||||
AC_ARG_WITH(rtsig,
|
AC_ARG_WITH(rtsig,
|
||||||
[ --with-rtsig compile with support for real time signals (experimental)],
|
[ --with-rtsig compile with support for real time signals (experimental)],
|
||||||
@ -58,6 +64,8 @@ if test "x$ac_cv_header_sys_time_h" = "xyes"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_C_CONST
|
||||||
|
AC_C_INLINE
|
||||||
AC_HEADER_TIME
|
AC_HEADER_TIME
|
||||||
|
|
||||||
dnl Checks for library functions.
|
dnl Checks for library functions.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user