Apply an MSVC compilation fix from Gisle Vanem

This fixes a double-define introduced in 28538069b2
This commit is contained in:
Nick Mathewson 2014-08-13 15:11:00 -04:00
parent fa7ce6d3be
commit 789c8d8573
2 changed files with 4 additions and 1 deletions

3
changes/test.h_msvc Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (compilation):
- Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
bugfix on 0.2.5.5-alpha.

View File

@ -61,7 +61,7 @@
#ifdef _MSC_VER
#define U64_PRINTF_TYPE uint64_t
#define U64_PRINTF_TYPE int64_t
#define I64_PRINTF_TYPE int64_t
#else
#define U64_PRINTF_TYPE unsigned long long
#define I64_PRINTF_TYPE long long