From 3a9d945d0701afbffa02e3331271103c6ce93f0a Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 15 Mar 2001 22:39:57 +0000 Subject: Use the Multithreaded DLL runtime model for all projects - I haven't found a system yet that this doesn't work on, and you get smaller executables... FLUID source needs Windows headers for GetTempPath and MAX_PATH definitions. Visual C++ complained about the "char **/*argv*/" in CubeMain; added a space so that */ is not seen. Include to get argc/argv definitions rather than hardcoding the declarations. This seems to work in all modes. Add can_do_overlay() method for WIN32 (seems to work on my TNT card at least) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_call_main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/fl_call_main.c') diff --git a/src/fl_call_main.c b/src/fl_call_main.c index c11ad4515..647a8bfe9 100644 --- a/src/fl_call_main.c +++ b/src/fl_call_main.c @@ -1,5 +1,5 @@ /* - * "$Id: fl_call_main.c,v 1.1.2.8 2001/01/22 15:13:40 easysw Exp $" + * "$Id: fl_call_main.c,v 1.1.2.9 2001/03/15 22:39:56 easysw Exp $" * * Copyright 1998-2001 by Bill Spitzak and others. * @@ -48,14 +48,13 @@ #include #include +#include extern int main(int, char *[]); #ifdef BORLAND5 #define __argc _argc #define __argv _argv #endif -extern int __argc; -extern char **__argv; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { @@ -83,6 +82,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, #endif /* - * End of "$Id: fl_call_main.c,v 1.1.2.8 2001/01/22 15:13:40 easysw Exp $". + * End of "$Id: fl_call_main.c,v 1.1.2.9 2001/03/15 22:39:56 easysw Exp $". */ -- cgit v1.2.3