summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-07-11 22:43:53 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-07-11 22:43:53 +0000
commit319c89ab3ce02a6d381018903817e899c140daac (patch)
treee435b2ee440bf302bf3897696ef5aa2891dea88c /test
parentcd9ae1abd5b926331116bfbc6a71f517f3c34c90 (diff)
minor changes to make FLTK compile as a DLL in CodeWarrior
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/cube.cxx5
-rw-r--r--test/editor.cxx8
2 files changed, 8 insertions, 5 deletions
diff --git a/test/cube.cxx b/test/cube.cxx
index 2095f5db0..cc4fb1f61 100644
--- a/test/cube.cxx
+++ b/test/cube.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: cube.cxx,v 1.4.2.5.2.4 2002/07/11 01:10:15 matthiaswm Exp $"
+// "$Id: cube.cxx,v 1.4.2.5.2.5 2002/07/11 22:43:53 matthiaswm Exp $"
//
// Another forms test program for the Fast Light Tool Kit (FLTK).
//
@@ -33,7 +33,6 @@
#include <FL/Fl_Radio_Light_Button.H>
#include <FL/Fl_Slider.H>
#include <stdlib.h>
-#include <stdio.h>
#if !HAVE_GL
class cube_box : public Fl_Box {
@@ -185,5 +184,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: cube.cxx,v 1.4.2.5.2.4 2002/07/11 01:10:15 matthiaswm Exp $".
+// End of "$Id: cube.cxx,v 1.4.2.5.2.5 2002/07/11 22:43:53 matthiaswm Exp $".
//
diff --git a/test/editor.cxx b/test/editor.cxx
index 0f9a151e3..ca0489560 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: editor.cxx,v 1.2.2.3.2.11 2002/06/29 00:10:05 matthiaswm Exp $"
+// "$Id: editor.cxx,v 1.2.2.3.2.12 2002/07/11 22:43:53 matthiaswm Exp $"
//
// A simple text editor program for the Fast Light Tool Kit (FLTK).
//
@@ -35,6 +35,10 @@
#include <ctype.h>
#include <errno.h>
+#ifdef __MWERKS__
+# define FL_DLL
+#endif
+
#include <FL/Fl.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Double_Window.H>
@@ -758,5 +762,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: editor.cxx,v 1.2.2.3.2.11 2002/06/29 00:10:05 matthiaswm Exp $".
+// End of "$Id: editor.cxx,v 1.2.2.3.2.12 2002/07/11 22:43:53 matthiaswm Exp $".
//