diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-18 15:00:26 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-18 15:00:26 +0000 |
commit | fe94afd52b965a2b60a418ca85298146653c707a (patch) | |
tree | 857fe78addf7865ad9b57398c53af535201c036f | |
parent | 4501b6c4e1efd31d7e275320ff693d5f22d70e62 (diff) | |
download | rsyslog-fe94afd52b965a2b60a418ca85298146653c707a.tar.gz rsyslog-fe94afd52b965a2b60a418ca85298146653c707a.tar.xz rsyslog-fe94afd52b965a2b60a418ca85298146653c707a.zip |
code cleanups thanks to Michael Biebl
----------------------------------------------------------------------
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | rsyslog.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 545e0594..a6330eba 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,8 @@ AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([syslogd.c]) AC_CONFIG_HEADERS([config.h]) +AC_GNU_SOURCE + # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O @@ -43,10 +43,6 @@ # define _FILE_OFFSET_BITS 64 #endif -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - /* The error codes below are orginally "borrowed" from * liblogging. As such, we reserve values up to -2999 * just in case we need to borrow something more ;) |