diff options
author | jiangph <jiangph@cn.ibm.com> | 2020-02-10 11:35:06 +0800 |
---|---|---|
committer | jiangph <jiangph@cn.ibm.com> | 2020-02-10 11:35:06 +0800 |
commit | 072d9579f97536c8d19a8e17d3f62101be540377 (patch) | |
tree | 133decf742f7eeb6748cde2665b5403a094c0d28 | |
parent | 790163bf5b0c908b99504718e8ff0acf10812767 (diff) | |
download | couchdb-072d9579f97536c8d19a8e17d3f62101be540377.tar.gz |
fixes the SM60 couchjs build by telling windows.h not to redefine min
and max as macros through a #define
Co-authored-by: Joan Touzet <wohali@users.noreply.github.com>
-rw-r--r-- | src/couch/priv/couch_js/60/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couch/priv/couch_js/60/main.cpp b/src/couch/priv/couch_js/60/main.cpp index e78dbb46d..b6157ed85 100644 --- a/src/couch/priv/couch_js/60/main.cpp +++ b/src/couch/priv/couch_js/60/main.cpp @@ -15,6 +15,7 @@ #include <string.h> #ifdef XP_WIN +#define NOMINMAX #include <windows.h> #else #include <unistd.h> |