boostorg / winapi

Windows API declarations without <windows.h>, for internal Boost use.
62 stars 58 forks source link

Support for MSVC 7.1 and include MSVC 8.0 under intrin.h #2

Closed igaztanaga closed 9 years ago

igaztanaga commented 9 years ago

Interprocess in MSVC 7.1 does not link in debug (intrinsics are not enabled in Debug mode). This happened after support for BOOST_USE_INTRIN_H was added. This patch adds support for Visual 2003 using #pragma intrinsic and also uses intrin.h for Visual 2005 (_MSC_VER == 1400).

Interprocess correctly compiles after this patch is applied:

https://gist.github.com/anonymous/f826fb6e82c2bbcbef62

Lastique commented 9 years ago

Fixed in e7c3a828a92d223f00955f5070cd0ec81e9176dd.