From 561928a45c51e04d2ea17ad34c85af0598bd2cf7 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sat, 12 Feb 2022 13:52:06 -0800 Subject: [PATCH] Checkpint disbale use of gettime() under _WIN32 or _WIN64 --- CHANGES | 2 ++ have_gettime.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5f946e3..6724767 100644 --- a/CHANGES +++ b/CHANGES @@ -31,6 +31,8 @@ The following are the changes from calc version 2.14.0.15 to date: Fixed missing quotes in the PASSDOWN makefile variables. + Disable use of gettime() under _WIN32 or _WIN64. + The following are the changes from calc version 2.14.0.14 to 2.14.0.14: diff --git a/have_gettime.c b/have_gettime.c index afc1277..83fc890 100644 --- a/have_gettime.c +++ b/have_gettime.c @@ -49,7 +49,7 @@ int main(void) { -#if defined(HAVE_NO_GETTIME) +#if defined(HAVE_NO_GETTIME) || defined(_WIN32) || defined(_WIN64) printf("#undef HAVE_GETTIME /* no */\n");