summaryrefslogtreecommitdiff
path: root/src/Fl_File_Icon2.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-06 13:55:20 +0000
committerManolo Gouy <Manolo>2016-04-06 13:55:20 +0000
commit888427f2fe86d958897bd1b02a3e3f6d84ad16f6 (patch)
tree92c1beec3844b2c8ce56c41d3d8438b7c8dbe936 /src/Fl_File_Icon2.cxx
parentf7b70c68668cd13a34abd767be09cce41d50b550 (diff)
Remove unused #define directives
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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...
//