From 168e9ec2315bf22a56b5b139e36f8b1f3a23a9a1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Aug 2006 10:51:34 +0000 Subject: r17789: remove compiler warnings metze (This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2) --- source4/lib/replace/snprintf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/lib/replace/snprintf.c b/source4/lib/replace/snprintf.c index e315a9f99a..4b64e53148 100644 --- a/source4/lib/replace/snprintf.c +++ b/source4/lib/replace/snprintf.c @@ -145,6 +145,9 @@ void dummy_snprintf(void) {} #endif /* HAVE_SNPRINTF, etc */ +/* yes this really must be a ||. Don't muck with this (tridge) */ +#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF) + #ifdef HAVE_LONG_DOUBLE #define LDOUBLE long double #else @@ -216,9 +219,6 @@ #define MAX(p,q) (((p) >= (q)) ? (p) : (q)) #endif -/* yes this really must be a ||. Don't muck with this (tridge) */ -#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF) - struct pr_chunk { int type; /* chunk type */ int num; /* parameter number */ -- cgit