diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 17:04:18 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 17:04:18 +0000 |
| commit | b1598dc70362f331da7a65f1e5ddece7c88299f3 (patch) | |
| tree | b86ceda8b546d19b0bb1d4cfc7b8babdd53c3f3c /test/color_chooser.cxx | |
| parent | a9fd08ff5ab8bbf3838200ceace671a72627d212 (diff) | |
Removed macro FL_PORTING, as it has been more confusing than helpful.
The original intention of FL_PORTING was to mark all places in the
source code where changes are required to port FLTK to a new platform.
Thanks to the driver system, this approach has become somewhat
misleading, so I removed all references.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/color_chooser.cxx')
| -rw-r--r-- | test/color_chooser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/color_chooser.cxx b/test/color_chooser.cxx index 5c80251a7..0c998034d 100644 --- a/test/color_chooser.cxx +++ b/test/color_chooser.cxx @@ -28,7 +28,7 @@ #include <stdlib.h> #include <stdio.h> -#if !defined(_WIN32) && !defined(__APPLE__) && !defined(FL_PORTING) && !defined(__ANDROID__) +#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__ANDROID__) #include "list_visuals.cxx" #endif @@ -114,7 +114,7 @@ int main(int argc, char ** argv) { " - : default visual\n" " r : call Fl::visual(FL_RGB)\n" " c : call Fl::own_colormap()\n",argv[0]); -#if !defined(_WIN32) && !defined(__APPLE__) && !defined(FL_PORTING) && !defined(__ANDROID__) +#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__ANDROID__) printf(" # : use this visual with an empty colormap:\n"); list_visuals(); #endif @@ -127,7 +127,7 @@ int main(int argc, char ** argv) { } else if (argv[i][0] == 'c') { Fl::own_colormap(); } else if (argv[i][0] != '-') { -#if !defined(_WIN32) && !defined(__APPLE__) && !defined(FL_PORTING) && !defined(__ANDROID__) +#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__ANDROID__) int visid = atoi(argv[i]); fl_open_display(); XVisualInfo templt; int num; |
