diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-11-29 16:19:22 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-11-29 16:19:22 +0100 |
| commit | 12ea6a02880cb5ba0e20aba6d853cd642e0f0552 (patch) | |
| tree | f78c00b210b4acb60b77de4626416ebb826bfd92 /test/CubeMain.cxx | |
| parent | 404411ea68e978bab159bd29dc85a02256144e7b (diff) | |
Enable building the CubeView demo w/o requiring '<config.h>'
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 <config.h> at all (not needed)
test/CubeView.h: #include <config.h> only if HAVE_GL is not defined
Diffstat (limited to 'test/CubeMain.cxx')
| -rw-r--r-- | test/CubeMain.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 <config.h> #include <FL/Fl.H> #include "CubeViewUI.h" |
