summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index cd322f9b8..1fe74a92b 100644
--- a/defines.h
+++ b/defines.h
@@ -246,8 +246,16 @@ typedef int mode_t;
246# endif /* RSH_PATH */ 246# endif /* RSH_PATH */
247#endif /* _PATH_RSH */ 247#endif /* _PATH_RSH */
248 248
249#ifndef _PATH_NOLOGIN
250# define _PATH_NOLOGIN "/etc/nologin"
251#endif
252
249/* Macros */ 253/* Macros */
250 254
255#if defined(HAVE_LOGIN_GETCAPBOOL) && defined(HAVE_LOGIN_CAP_H)
256# define HAVE_LOGIN_CAP
257#endif
258
251#ifndef MAX 259#ifndef MAX
252# define MAX(a,b) (((a)>(b))?(a):(b)) 260# define MAX(a,b) (((a)>(b))?(a):(b))
253# define MIN(a,b) (((a)<(b))?(a):(b)) 261# define MIN(a,b) (((a)<(b))?(a):(b))