summaryrefslogtreecommitdiff
path: root/src/Fl_File_Icon2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_File_Icon2.cxx')
-rw-r--r--src/Fl_File_Icon2.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Fl_File_Icon2.cxx b/src/Fl_File_Icon2.cxx
index bb6964c07..cdd4aa9fd 100644
--- a/src/Fl_File_Icon2.cxx
+++ b/src/Fl_File_Icon2.cxx
@@ -41,7 +41,6 @@
#include <errno.h>
#include <FL/math.h>
#include <sys/types.h>
-#include <sys/stat.h>
#if defined(WIN32) && !defined(__CYGWIN__)
# include <io.h>
# define F_OK 0
@@ -58,20 +57,6 @@
#include <FL/fl_draw.H>
#include <FL/filename.H>
-
-//
-// Define missing POSIX/XPG4 macros as needed...
-//
-
-#ifndef S_ISDIR
-# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
-# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
-# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
-# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
-# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
-#endif /* !S_ISDIR */
-
-
//
// Local functions...
//