On Windows/mingw32, scanf only accepts %I64d for long long integers.

Reference that gave me this hint: http://acm.pku.edu.cn/JudgeOnline/faq.htm

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14806 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2006-09-06 11:46:36 +00:00
parent 7b0ec87f66
commit 0415051267
3 changed files with 39 additions and 2 deletions

View File

@@ -48,7 +48,11 @@
# 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!"
# if HAVE_SCANF_I64D
# define QOF_SCANF_LLD "%I64d"
# else
# error "No scanf format string is known for LLD. Fix your ./configure so that the correct one is detected!"
# endif
# endif
#endif