• Jos Decoster's avatar
    Fix compile error with Visual C++ 2008 · 37e4a38e
    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
Name
Last commit
Last update
..
c_local_lat Loading commit data...
c_local_thr Loading commit data...
c_remote_lat Loading commit data...
c_remote_thr Loading commit data...
inproc_lat Loading commit data...
inproc_thr Loading commit data...
libzmq Loading commit data...
properties Loading commit data...
Makefile.am Loading commit data...
errno.cpp Loading commit data...
errno.hpp Loading commit data...
msvc.sln Loading commit data...
msvc10.sln Loading commit data...
platform.hpp Loading commit data...