From 7aaaf59e159055695a31fc6bd2c118651430082b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 21 Feb 2018 06:56:21 +0000 Subject: [PATCH] Remove "#ifdef _WIN32" that made this source file break the separation between platform-independent and -dependent files. Several other platform-independent source files (e.g., Fl_Browser.cxx, Fl_Group.cxx) use malloc/realloc/free without including a special header file for the Windows platform. Thus, Fl_Table.cxx can just be likewise. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Table.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Fl_Table.cxx b/src/Fl_Table.cxx index aea25a0b3..cdbc9d171 100644 --- a/src/Fl_Table.cxx +++ b/src/Fl_Table.cxx @@ -25,12 +25,7 @@ #include #include // memcpy #include // fprintf - -#ifdef _WIN32 -#include // WINDOWS: malloc/realloc -#else /* _WIN32 */ -#include // UNIX: malloc/realloc -#endif /* _WIN32 */ +#include // realloc/free // An STL-ish vector without templates (private to Fl_Table)