Skip to content

Commit

Permalink
It appears that the use of gettimeofday() is limited and/or deprecate…
Browse files Browse the repository at this point in the history
…d on Windows when using MinGW. At least for the nonce, we'll _always_ use ftime() on Windows.
  • Loading branch information
Bill-Gray committed May 9, 2023
1 parent 75b62ea commit 6b432b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdcurses/getch.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ millisecond precision on older compilers/systems. We'll
use gettimeofday() when available. */

#if defined(__TURBOC__) || defined(__EMX__) || defined(__DJGPP__) || \
defined( __DMC__) || defined(__WATCOMC__) || defined(_MSC_VER)
defined( __DMC__) || defined(__WATCOMC__) || defined(_WIN32)
#include <sys/timeb.h>

long PDC_millisecs( void)
Expand Down

0 comments on commit 6b432b4

Please sign in to comment.