diff options
author | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2009-02-06 20:14:24 -0500 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2009-02-06 20:14:24 -0500 |
commit | 49c9d58217621434c04d670b4037bb3af7b0ec17 (patch) | |
tree | aec86fd040c0c24c2f109c3f4ec44420a5b6c96b /src/os.h | |
parent | f5ef12ef83f93b8325420aeff41134d971d1f779 (diff) | |
download | screen-49c9d58217621434c04d670b4037bb3af7b0ec17.tar.gz |
Make sure NAME_MAX is defined.
A different fix for this, suggested by Emanuele Giaquinta, was to
#undef NAME_MAX before #define-ing it, but somehow I like this better.
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ # include <signal.h> #endif /* __bsdi__ || __386BSD__ || _CX_UX || hpux || _IBMR2 || linux */ -#ifndef HAVE_LONG_FILE_NAMES +#if !defined(HAVE_LONG_FILE_NAMES) && !defined(NAME_MAX) #define NAME_MAX 14 #endif |