-
Jos Decoster authored
File decoder.cpp does not compile with Visual C++ 2008: 1>c:\tmp\libzmq\src\decoder.cpp(117) : warning C4003: not enough actual parameters for macro 'max' 1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2589: '(' : illegal token on right side of '::' 1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2059: syntax error : '::' 1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2143: syntax error : missing ';' before '{' This error is caused by the precense of a macro 'max' when including 'windows.h'. To solve this problem, the preprocessor macro /DNOMINMAX must be specified.
37e4a38e