From 5a28d87102f9d33a8f62094274ac13f0a44f832a Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 2 Feb 2009 00:34:29 +0000 Subject: [PATCH] disabled main in sys_win.c at O.Sezer's recommendation (vid_wgl.c provides WinMain in the same build target - making this pointless) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8691 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_win.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys_win.c b/sys_win.c index 928d8422..ee6ef061 100644 --- a/sys_win.c +++ b/sys_win.c @@ -460,6 +460,8 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin return true; } +#if 0 +// unused, this file is only used when building windows client and vid_wgl provides WinMain() instead int main (int argc, const char* argv[]) { MEMORYSTATUS lpBuffer; @@ -479,3 +481,5 @@ int main (int argc, const char* argv[]) return true; } +#endif + -- 2.39.2