summaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2009-01-28 22:20:34 +0100
committerMicah Cowan <micah@cowan.name>2009-01-28 22:54:35 -0800
commit416bb21cb22233ec0f88b54cf6ca3feb85b0f0a1 (patch)
tree09d12e672d044c2058eca5bd2b5914b652e969fb /src/os.h
parente9090f3d6d719c1e15f21229c303628c7707fcba (diff)
downloadscreen-416bb21cb22233ec0f88b54cf6ca3feb85b0f0a1.tar.gz
Use AC_SYS_LONG_FILE_NAMES to check if the system supports file names longer than 14 characters.
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os.h b/src/os.h
index 5bf417d..be20572 100644
--- a/src/os.h
+++ b/src/os.h
@@ -41,6 +41,10 @@
# include <signal.h>
#endif /* __bsdi__ || __386BSD__ || _CX_UX || hpux || _IBMR2 || linux */
+#ifndef HAVE_LONG_FILE_NAMES
+#define NAME_MAX 14
+#endif
+
#ifdef ISC
# ifdef ENAMETOOLONG
# undef ENAMETOOLONG