From 8b880adac62b6724c36405b173286362c386c227 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 6 Oct 1998 19:18:34 +0000 Subject: [PATCH] Applied patches from Bill Spitzak. Fixed line termination (lots-o-Windows CR+LF mixed in...) git-svn-id: file:///fltk/svn/fltk/trunk@9 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/color_chooser.cxx | 2 ++ test/image.cxx | 2 ++ test/list_visuals.cxx | 9 ++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/test/color_chooser.cxx b/test/color_chooser.cxx index 9cdcbd36a..cc9c5cad5 100644 --- a/test/color_chooser.cxx +++ b/test/color_chooser.cxx @@ -16,7 +16,9 @@ #include #include +#ifndef WIN32 #include "list_visuals.C" +#endif int width = 75; int height = 75; diff --git a/test/image.cxx b/test/image.cxx index 3a2e79c44..41d4f5607 100644 --- a/test/image.cxx +++ b/test/image.cxx @@ -47,7 +47,9 @@ void button_cb(Fl_Widget *,void *) { } #include +#ifndef WIN32 #include "list_visuals.C" +#endif int visid = -1; int arg(int argc, char **argv, int &i) { diff --git a/test/list_visuals.cxx b/test/list_visuals.cxx index 57b1e7e74..534fe3297 100644 --- a/test/list_visuals.cxx +++ b/test/list_visuals.cxx @@ -7,7 +7,14 @@ // call to list the visuals. Fl.H must be included first to indicate this. #ifdef WIN32 -void list_visuals() {;} +#include +#include + +int main(int, char**) { + fl_alert("Currently, this program works only under X."); + return 1; +} + #else #include