Use MFCs windows include if present

This commit is contained in:
Phil Nash 2013-07-01 18:44:40 +01:00
parent 4b5e008b20
commit ba9b2b5a37
1 changed files with 5 additions and 0 deletions

View File

@ -22,7 +22,12 @@ namespace Catch { namespace Detail {
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif #endif
#ifdef __AFXDLL
#include <AfxWin.h>
#else
#include <windows.h> #include <windows.h>
#endif
namespace Catch { namespace Catch {
namespace { namespace {