aboutsummaryrefslogtreecommitdiffstats
path: root/local.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
commit3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch)
tree43a618cb2507489be74cf3b52a18d4be5110fe58 /local.h
parenttgetstr("Km", &pt) cannot be used to detect is_xterm (diff)
downloadw3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz
w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip
follow autoconf conventions, #include cleanups
Diffstat (limited to 'local.h')
-rw-r--r--local.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/local.h b/local.h
index f4adde8..7a9f565 100644
--- a/local.h
+++ b/local.h
@@ -6,13 +6,13 @@
#define LOCAL_H
#include <sys/types.h>
-#ifdef DIRENT
+#ifdef HAVE_DIRENT_H
#include <dirent.h>
typedef struct dirent Directory;
-#else /* not DIRENT */
+#else /* not HAVE_DIRENT_H */
#include <sys/dir.h>
typedef struct direct Directory;
-#endif /* not DIRENT */
+#endif /* not HAVE_DIRENT_H */
#include <sys/stat.h>
#ifndef S_IFMT
@@ -32,13 +32,13 @@ typedef struct direct Directory;
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif /* not S_ISDIR */
-#ifdef READLINK
+#ifdef HAVE_READLINK
#ifndef S_IFLNK
#define S_IFLNK 0120000
#endif /* not S_IFLNK */
#ifndef S_ISLNK
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
#endif /* not S_ISLNK */
-#endif /* not READLINK */
+#endif /* not HAVE_READLINK */
#endif /* not LOCAL_H */