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 <stdlib.h> 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
This commit is contained in:
Michael R Sweet
2001-03-15 22:39:57 +00:00
parent 1ede363769
commit 3a9d945d07
63 changed files with 171 additions and 129 deletions
+5 -4
View File
@@ -1,5 +1,5 @@
//
// "$Id: fluid.cxx,v 1.15.2.12 2001/02/01 17:30:28 easysw Exp $"
// "$Id: fluid.cxx,v 1.15.2.13 2001/03/15 22:39:56 easysw Exp $"
//
// FLUID main entry for the Fast Light Tool Kit (FLTK).
//
@@ -63,9 +63,10 @@ const char *copyright =
#include <errno.h>
#if defined(WIN32) && !defined(__CYGWIN__)
# include <direct.h>
# include <direct.h>
# include <windows.h>
#else
# include <unistd.h>
# include <unistd.h>
#endif
#include "about_panel.h"
@@ -473,5 +474,5 @@ int main(int argc,char **argv) {
}
//
// End of "$Id: fluid.cxx,v 1.15.2.12 2001/02/01 17:30:28 easysw Exp $".
// End of "$Id: fluid.cxx,v 1.15.2.13 2001/03/15 22:39:56 easysw Exp $".
//