Use POSIX macros for linux

This commit is contained in:
chase
2018-05-24 16:24:41 -05:00
committed by Jon Trulson
parent 164e695cd0
commit 4f5e7fe5e3
265 changed files with 394 additions and 394 deletions

View File

@@ -77,7 +77,7 @@
# include <shadow.h>
#endif
#if defined(linux)
#if defined(__linux__)
# include <shadow.h>
#endif
#if defined(CSRG_BASED)
@@ -144,7 +144,7 @@ static void RequirePassword( XtPointer, XtIntervalId *) ;
static void CycleSaver( XtPointer, XtIntervalId *) ;
static void BlinkCaret( XtPointer, XtIntervalId *) ;
#if defined(linux)
#if defined(__linux__)
/* #define JET_AUTHDEBUG */
/* Test for re-auth ability - see if we can re-authenticate via pwd,
@@ -1661,7 +1661,7 @@ localAuthenticate(
return FALSE;
}
#elif defined(linux)
#elif defined(__linux__)
{
struct passwd *pwent = NULL;