racket/src/mzcom/stdafx.h
Eli Barzilay adb657fc5f Bump _WIN32_WINNT to 0x0501, since that's what the compiler recommends to do
when it complains about a value that is too low.

This complaint happens when building with 2010 -- I resolved these
complaints (here and in mysterx) by adding the definition to the vcxproj
files, but the 3m compilation still needs it.

For the record, the error text is:

  C:\Program Files\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE\atlcore.h(35) : fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
2010-12-10 03:54:02 -05:00

39 lines
1.0 KiB
C++

// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#if !defined(AFX_STDAFX_H__A604CB9F_2AB5_11D4_B6D3_0060089002FE__INCLUDED_)
#define AFX_STDAFX_H__A604CB9F_2AB5_11D4_B6D3_0060089002FE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#define _ATL_APARTMENT_THREADED
#include <atlbase.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
class CExeModule : public CComModule
{
public:
LONG Unlock();
DWORD dwThreadID;
HANDLE hEventShutdown;
void MonitorShutdown();
bool StartMonitor();
bool bActivity;
};
extern CExeModule _Module;
#include <atlcom.h>
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__A604CB9F_2AB5_11D4_B6D3_0060089002FE__INCLUDED)