From 042ec5de5ea680f91bb3c4d9ca22146f5c537525 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 5 Sep 2006 15:50:29 +0000 Subject: [PATCH] Error out if none of the two SCANF formats are defined in config.h. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14798 57a11ea4-9604-0410-9ed3-97b8803252fd --- lib/libqof/qof/qofutil.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libqof/qof/qofutil.h b/lib/libqof/qof/qofutil.h index 67ded53070..094fa9e725 100644 --- a/lib/libqof/qof/qofutil.h +++ b/lib/libqof/qof/qofutil.h @@ -45,7 +45,11 @@ #if HAVE_SCANF_LLD # define QOF_SCANF_LLD "%lld" #else -# define QOF_SCANF_LLD "%qd" +# if HAVE_SCANF_QD +# define QOF_SCANF_LLD "%qd" +# else +# error "No scanf format string is known for LLD. Fix your ./configure so that the correct one is detected!" +# endif #endif #define QOF_MOD_UTIL "qof-utilities"