From: black Date: Tue, 5 Jul 2005 13:01:29 +0000 (+0000) Subject: fix VC 6 not supporting DWORD_PTR. X-Git-Tag: xonotic-v0.1.0preview~4681 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc72b2af9cc6e8819e80aa96e7aa15762ce6ff16;p=xonotic%2Fdarkplaces.git fix VC 6 not supporting DWORD_PTR. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5505 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;