Skip to content

Commit

Permalink
Fix detection of mingw32
Browse files Browse the repository at this point in the history
  • Loading branch information
satk0 committed Oct 2, 2024
1 parent 8c3471f commit 75d450d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ void rqsort(void *base, size_t nmemb, size_t size, cmp_f cmp, void *opaque)

/*---- Portable time functions ----*/

#if defined(_MSC_VER) || (__MINGW32__ && !__MINGW64__)
#if defined(_MSC_VER) || (__MINGW32__ && !defined(__MINGW64__))
// From: https://stackoverflow.com/a/26085827
static int gettimeofday_msvc(struct timeval *tp, struct timezone *tzp)
{
Expand Down

0 comments on commit 75d450d

Please sign in to comment.