fix VC 6 not supporting DWORD_PTR.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jul 2005 13:01:29 +0000 (13:01 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jul 2005 13:01:29 +0000 (13:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5505 d7cf8633-e32d-0410-b094-e92efae38249

cd_win.c

index 6e74b09..2eec19a 100644 (file)
--- 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;