"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "config.h.in" between
xapian-omega-1.4.18.tar.xz and xapian-omega-1.4.19.tar.xz

About: Xapian Omega is an application built on Xapian, consisting of indexers and a CGI search frontend.

config.h.in  (xapian-omega-1.4.18.tar.xz):config.h.in  (xapian-omega-1.4.19.tar.xz)
skipping to change at line 260 skipping to change at line 260
#undef pid_t #undef pid_t
/* Define to `int' if <sys/types.h> does not define. */ /* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t #undef ssize_t
/* Disable stupid MSVC "performance" warning for converting int to bool. */ /* Disable stupid MSVC "performance" warning for converting int to bool. */
#ifdef _MSC_VER #ifdef _MSC_VER
# pragma warning(disable:4800) # pragma warning(disable:4800)
#endif #endif
/* _FORTIFY_SOURCE is only supported by GCC >= 4.1 and glibc >= 2.3.4, but it /* Default to enabling _FORTIFY_SOURCE at level 2. It shouldn't cause a
* shouldn't cause a problem to define it where it's not supported and some * problem to define it where it's not supported.
* distros may have backported support, so hardcoding version checks is
* counter-productive.
* *
* Check if _FORTIFY_SOURCE is already defined to allow the user to override * Check if _FORTIFY_SOURCE is already defined to allow the user to override
* our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1". * our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1".
*/ */
#if defined __GNUC__ && !defined _FORTIFY_SOURCE #if defined __GNUC__ && !defined _FORTIFY_SOURCE
# define _FORTIFY_SOURCE 2 # define _FORTIFY_SOURCE 2
# ifdef __MINGW32__
/* Both mingw32 and mingw-w64 define __MINGW32__. */
# include <stddef.h>
# ifdef __MINGW64_VERSION_MAJOR
/* Enabling _FORTIFY_SOURCE on newer mingw-w64 requires linking with -lssp so
* we simply don't automatically enable it there.
*/
# undef _FORTIFY_SOURCE
# endif
# endif
#endif #endif
/* For GCC >= 3.0 (and Intel's C++ compiler, which also defines __GNUC__), /* For GCC >= 3.0 (and Intel's C++ compiler, which also defines __GNUC__),
* we can use __builtin_expect to give the compiler hints about branch * we can use __builtin_expect to give the compiler hints about branch
* prediction. See HACKING for how to use these. * prediction. See HACKING for how to use these.
*/ */
#if defined __GNUC__ #if defined __GNUC__
/* The arguments of __builtin_expect() are both long, so use !! to ensure that /* The arguments of __builtin_expect() are both long, so use !! to ensure that
* the first argument is always an integer expression, and always 0 or 1, but * the first argument is always an integer expression, and always 0 or 1, but
* still has the same truth value for the if or while it is used in. * still has the same truth value for the if or while it is used in.
 End of changes. 2 change blocks. 
4 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)