diff options
author | jeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-30 22:47:42 +0000 |
---|---|---|
committer | jeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-30 22:47:42 +0000 |
commit | c90d849636fd9db7f79f2f2b4611f2bcff0c5700 (patch) | |
tree | f9b367a0243559811d02389900def80ab84f9139 /third_party/mongoose | |
parent | b70386476df8f11fbad872195f48518b20b20b41 (diff) | |
download | chromium_src-c90d849636fd9db7f79f2f2b4611f2bcff0c5700.zip chromium_src-c90d849636fd9db7f79f2f2b4611f2bcff0c5700.tar.gz chromium_src-c90d849636fd9db7f79f2f2b4611f2bcff0c5700.tar.bz2 |
Fix miscellaneous compilation bugs under Visual Studio 2010.
BUG=71145
TEST=Run unit tests
Review URL: http://codereview.chromium.org/6240017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/mongoose')
-rw-r--r-- | third_party/mongoose/mongoose.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/mongoose/mongoose.c b/third_party/mongoose/mongoose.c index 035532a..8078e63 100644 --- a/third_party/mongoose/mongoose.c +++ b/third_party/mongoose/mongoose.c @@ -99,7 +99,9 @@ typedef long off_t; #define DIRSEP '\\' #define IS_DIRSEP_CHAR(c) ((c) == '/' || (c) == '\\') #define O_NONBLOCK 0 +#if !defined(_MSC_VER) || _MSC_VER < 1600 #define EWOULDBLOCK WSAEWOULDBLOCK +#endif #define _POSIX_ #define UINT64_FMT "I64" |