Skip to content

Commit

Permalink
Fix uuid warning for win/mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jun 26, 2015
1 parent 54b3cb2 commit 107c7a0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/uuid/gen_uuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ static int gettimeofday (struct timeval *tv, void *dummy)
}
#endif

#ifdef __MINGW32__
int gettimeofday (struct timeval *tv, void *dummy);
#endif
#ifdef __MINGW64__
int gettimeofday (struct timeval *tv, void *dummy);
#endif

static int getuid (void)
{
return 1;
Expand Down

0 comments on commit 107c7a0

Please sign in to comment.