Skip to content

Commit

Permalink
win: fix 'floor' undefined compiler warning
Browse files Browse the repository at this point in the history
In VS2010 debug build, output message is `libuv\src\win\util.c(590):
warning C4013: 'floor' undefined; assuming extern returning int`.

PR-URL: libuv#1814
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
ssrlive authored and bnoordhuis committed Apr 23, 2018
1 parent 17eaa95 commit 0b3c499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <tlhelp32.h>
#include <windows.h>
#include <userenv.h>

#include <math.h>

/*
* Max title length; the only thing MSDN tells us about the maximum length
Expand Down

0 comments on commit 0b3c499

Please sign in to comment.