From bc72b2af9cc6e8819e80aa96e7aa15762ce6ff16 Mon Sep 17 00:00:00 2001 From: black Date: Tue, 5 Jul 2005 13:01:29 +0000 Subject: [PATCH] fix VC 6 not supporting DWORD_PTR. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5505 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_win.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cd_win.c b/cd_win.c index 6e74b091..2eec19ac 100644 --- a/cd_win.c +++ b/cd_win.c @@ -25,6 +25,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include "cdaudio.h" +#if _MSC_VER < 1300 +typedef DWORD DWORD_PTR; +#endif extern HWND mainwindow; -- 2.39.2