summaryrefslogtreecommitdiff
path: root/win/Stdafx.h
diff options
context:
space:
mode:
authorleo2006-01-19 05:18:24 +0000
committerleo2006-01-19 05:18:24 +0000
commite80ae84b78da0e53c79529a5e2faa2036b6f739c (patch)
treea68c09ab6075d76735b8658ddf2099dfb9784594 /win/Stdafx.h
parenta17d706f3590a49296b2a581840e8177aac77949 (diff)
Fixed compiler warnings and errors on VC++ 7.1
git-svn-id: http://svn.leocad.org/trunk@455 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Stdafx.h')
-rw-r--r--win/Stdafx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/Stdafx.h b/win/Stdafx.h
index ffc6871..1332794 100644
--- a/win/Stdafx.h
+++ b/win/Stdafx.h
@@ -21,6 +21,12 @@
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
+#if _MFC_VER >= 0x0710
+typedef DWORD ACTIVATEAPPPARAM;
+#else
+typedef HTASK ACTIVATEAPPPARAM;
+#endif
+
//#include <afxadv.h> // CSharedFile
#include "opengl.h"