diff options
author | James Zern <jzern@google.com> | 2016-11-15 12:16:14 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2016-11-15 12:18:38 -0800 |
commit | 0412193bb9775f6be0f9f6c74b90ff705e584d92 (patch) | |
tree | 146a65994e9710e8b495adebfb54cb8ab22e58f1 /vpx_ports/vpx_timer.h | |
parent | eff68a3a4df99b8f475a1e3e5eb842bcb928fe00 (diff) | |
download | libvpx-0412193bb9775f6be0f9f6c74b90ff705e584d92.tar libvpx-0412193bb9775f6be0f9f6c74b90ff705e584d92.tar.gz libvpx-0412193bb9775f6be0f9f6c74b90ff705e584d92.tar.bz2 libvpx-0412193bb9775f6be0f9f6c74b90ff705e584d92.zip |
vpx_timer.h,x86.h: define NOMINMAX for windows.h
avoids the definition of min/max macros in headers that may appear in
c++ unit tests. the codebase uses VPXMIN/MAX for this purpose in any
case
Change-Id: I2b679b045d64fb34fd8780f704e3caf10a758d82
Diffstat (limited to 'vpx_ports/vpx_timer.h')
-rw-r--r-- | vpx_ports/vpx_timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vpx_ports/vpx_timer.h b/vpx_ports/vpx_timer.h index 4aae30e94..c1f1b6027 100644 --- a/vpx_ports/vpx_timer.h +++ b/vpx_ports/vpx_timer.h @@ -21,6 +21,8 @@ /* * Win32 specific includes */ +#undef NOMINMAX +#define NOMINMAX #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif |