From d3bdf3f1806ad3fddc86d90cb5f23667af0fe851 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Fri, 14 Mar 2014 17:11:44 -0700 Subject: [PATCH] Bug 981558: Test _MSC_VER instead of _WIN32 for the code that uses the __int64 type because gcc on Windows doesn't support the i64 integer literal suffix and the use of I64 in printf format specifiers. TBR=gk. --- config/now.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/now.c b/config/now.c index 8232b9fc..2893c5b7 100644 --- a/config/now.c +++ b/config/now.c @@ -19,7 +19,7 @@ int main(int argc, char **argv) * of this program and omit the library build time * in PRVersionDescription. */ -#elif defined(_WIN32) +#elif defined(_MSC_VER) __int64 now; time_t sec;