diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-03-15 22:39:57 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-03-15 22:39:57 +0000 |
| commit | 3a9d945d0701afbffa02e3331271103c6ce93f0a (patch) | |
| tree | 030a83c68010332b48f9e73f7587271d84cb91af /fluid | |
| parent | 1ede363769f972270603bee70bd7dd5fde3db5e7 (diff) | |
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
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/fluid.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 70ade32d7..7c359b078 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -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 $". // |
