]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disabled main in sys_win.c at O.Sezer's recommendation (vid_wgl.c
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Feb 2009 00:34:29 +0000 (00:34 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Feb 2009 00:34:29 +0000 (00:34 +0000)
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

index 928d842266dbc2f7a4fa13e381418f53c835d10a..ee6ef061c219b4204a388f0cd41c62f32c44a2d0 100644 (file)
--- 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
+