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
This commit is contained in:
parent
fb7d2b770d
commit
7aaaf59e15
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user