From 12ea6a02880cb5ba0e20aba6d853cd642e0f0552 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 29 Nov 2024 16:19:22 +0100 Subject: Enable building the CubeView demo w/o requiring '' This allows to build the CubeView demo from the unmodified FLTK sources w/o having to provide a 'config.h' file by defining HAVE_GL=1 on the compiler commandline. See also comment in test/CubeView.h. test/CubeMain.cxx: don't include at all (not needed) test/CubeView.h: #include only if HAVE_GL is not defined --- test/CubeMain.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/CubeMain.cxx') diff --git a/test/CubeMain.cxx b/test/CubeMain.cxx index c2c0c6cfa..7d801f3f8 100644 --- a/test/CubeMain.cxx +++ b/test/CubeMain.cxx @@ -1,7 +1,7 @@ // // CubeView class . // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -14,7 +14,6 @@ // https://www.fltk.org/bugs.php // -#include #include #include "CubeViewUI.h" -- cgit v1.2.3