X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexim.h;h=32871660d3d1297ad6f1a1d1cb6d47c49e2e4dec;hb=1f4a55daf88541563ceaa66959acb9127604b15a;hp=601dfed7485d220c57028ee8b046827c8ecc21e7;hpb=c4ceed07f17f67af7d96e7fd27c92eb374e62e19;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exim.h b/src/src/exim.h index 601dfed74..32871660d 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -20,6 +20,13 @@ This call dates back at least as far as SUSv2. */ #define HAVE_SRANDOM +/* This is primarily for the Gnu C library; we define it before os.h so that +os.h has a chance to hurriedly undef it, Just In Case. We need C99 for some +64-bit math support, and defining _ISOC99_SOURCE breaks and friends. +*/ + +#define _GNU_SOURCE 1 + /* First of all include the os-specific header, which might set things that are needed by any of the other headers, including system headers. */ @@ -48,7 +55,7 @@ making unique names. */ #define LOCALHOST_MAX 10 #endif -/* If not overriden by os.h, dynamic libraries have filenames ending .so */ +/* If not overridden by os.h, dynamic libraries have filenames ending .so */ #ifndef DYNLIB_FN_EXT # define DYNLIB_FN_EXT "so" #endif