Marcus' patch for the beginnings of mingw32 support in the tree

This commit is contained in:
Joseph Carter 2000-01-02 11:32:21 +00:00
parent 9ef97ca84c
commit ecac4a1474
3 changed files with 7 additions and 4 deletions

View file

@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#pragma warning( disable : 4229 ) // mgraph gets this
#include <windows.h>
#define WM_MOUSEWHEEL 0x020A
#ifndef SERVERONLY
#include <ddraw.h>
@ -33,6 +32,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#endif
#endif
#ifndef WM_MOUSEWHEEL
# define WM_MOUSEWHEEL 0x020A
#endif
extern HINSTANCE global_hInstance;
extern int global_nCmdShow;

View file

@ -1043,7 +1043,7 @@ void CL_Download_f (void)
SZ_Print (&cls.netchan.message, va("download %s\n",Cmd_Argv(1)));
}
#ifdef _WINDOWS
#ifdef _WIN32
#include <windows.h>
/*
=================
@ -1189,7 +1189,7 @@ void CL_Init (void)
//
// Windows commands
//
#ifdef _WINDOWS
#ifdef _WIN32
Cmd_AddCommand ("windows", CL_Windows_f);
#endif
}

View file

@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "quakedef.h"
#ifdef _WINDOWS
#ifdef _WIN32
#include <windows.h>
#endif
/*