summaryrefslogtreecommitdiff
path: root/src/Fl_Table.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-02-21 06:56:21 +0000
committerManolo Gouy <Manolo>2018-02-21 06:56:21 +0000
commit7aaaf59e159055695a31fc6bd2c118651430082b (patch)
treeb00847d2dc4bc54a8f745e49144a2cd3cab6d13a /src/Fl_Table.cxx
parentfb7d2b770d5be2b7a2fd0f10bd86621fefb1b6ec (diff)
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
Diffstat (limited to 'src/Fl_Table.cxx')
-rw-r--r--src/Fl_Table.cxx7
1 files changed, 1 insertions, 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 <sys/types.h>
#include <string.h> // memcpy
#include <stdio.h> // fprintf
-
-#ifdef _WIN32
-#include <malloc.h> // WINDOWS: malloc/realloc
-#else /* _WIN32 */
-#include <stdlib.h> // UNIX: malloc/realloc
-#endif /* _WIN32 */
+#include <stdlib.h> // realloc/free
// An STL-ish vector without templates (private to Fl_Table)