r17789: remove compiler warnings
authorStefan Metzmacher <metze@samba.org>
Thu, 24 Aug 2006 10:51:34 +0000 (10:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:16:43 +0000 (14:16 -0500)
metze

source/lib/replace/snprintf.c

index e315a9f99a98f09731557d380d2094ef888f3baf..4b64e531480f797ea8b53a25908c0ac36dd9db63 100644 (file)
  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
 #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 */