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
This commit is contained in:
Christian Stimming
2006-09-05 15:50:29 +00:00
parent 80684e3205
commit 042ec5de5e
+5 -1
View File
@@ -45,7 +45,11 @@
#if HAVE_SCANF_LLD #if HAVE_SCANF_LLD
# define QOF_SCANF_LLD "%lld" # define QOF_SCANF_LLD "%lld"
#else #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 #endif
#define QOF_MOD_UTIL "qof-utilities" #define QOF_MOD_UTIL "qof-utilities"