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

@@ -3738,7 +3738,7 @@ do_catopen(
nl_catd nlmsg_fd = (nl_catd)-1;
char * errmsg;
#if defined(SVR4) || defined (_AIX) || defined(CSRG_BASED) || \
defined(linux) || defined(sun)
defined(__linux__) || defined(sun)
char * nextMatch;
#endif
@@ -3763,7 +3763,7 @@ do_catopen(
altCatName = XtMalloc(strlen(catName) + 10);
#if defined(SVR4) || defined (_AIX) || defined(CSRG_BASED) || \
defined(linux) || defined(sun)
defined(__linux__) || defined(sun)
/* These platforms don't have strrstr() */
ptr = NULL;
nextMatch = catName;