Changed BidEndianOrdered to BigEndianOrdered in datstrm.h
Seek and Tell do the right thing in wxIn/OutputStream now Check for GNU extension in configure.in: this is needed for GLIBC 2.1/GCC 2.95 -> this enables _GNU_SOURCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
24
acinclude.m4
24
acinclude.m4
@@ -397,3 +397,27 @@ AC_DEFUN(WX_ARG_ENABLE,
|
||||
fi
|
||||
])
|
||||
|
||||
dnl -
|
||||
dnl - GNU libc extension (added by GL)
|
||||
dnl -
|
||||
|
||||
AC_DEFUN(WX_GNU_EXTENSIONS,
|
||||
[
|
||||
AC_MSG_CHECKING([if you need GNU extensions])
|
||||
AC_CACHE_VAL(wx_cv_gnu_extensions,[
|
||||
AC_TRY_COMPILE([#include <features.h>],[
|
||||
|
||||
#ifndef __GNU_LIBRARY__
|
||||
Compile error wanted
|
||||
#endif
|
||||
|
||||
],
|
||||
[wx_cv_gnu_extensions=yes],
|
||||
[wx_cv_gnu_extensions=no])
|
||||
])
|
||||
|
||||
AC_MSG_RESULT($wx_cv_gnu_extensions)
|
||||
if test "$wx_cv_gnu_extensions" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED(_GNU_SOURCE)
|
||||
fi
|
||||
])
|
||||
|
Reference in New Issue
Block a user