#include "xmwidgets.h"
#include "msgs.h"
-#if defined(SYSV) || defined(SVR4_0) || defined(SVR4) || defined(CSRG_BASED) \
- || defined(__linux__) || defined(sun)
-#define lsprintf sprintf
-#endif
-
extern Hashtab_t * Wclasses;
break;
}
if (count > 0)
- p += lsprintf(p, "|%s", (String)cdata->ksh_cmd);
+ p += sprintf(p, "|%s", (String)cdata->ksh_cmd);
else
- p += lsprintf(p, "%s", (String)cdata->ksh_cmd);
+ p += sprintf(p, "%s", (String)cdata->ksh_cmd);
count++;
}
}
char * ptr;
nl_catd nlmsg_fd = (nl_catd)-1;
char * errmsg;
-#if defined(SVR4) || defined (_AIX) || defined(CSRG_BASED) || \
- defined(__linux__) || defined(sun)
char * nextMatch;
-#endif
if (argc != 3)
{
*/
altCatName = XtMalloc(strlen(catName) + 10);
-#if defined(SVR4) || defined (_AIX) || defined(CSRG_BASED) || \
- defined(__linux__) || defined(sun)
/* These platforms don't have strrstr() */
ptr = NULL;
nextMatch = catName;
ptr = nextMatch;
nextMatch++;
}
-#else
- ptr = (char *)strrstr(catName, ".cat");
-#endif
if (ptr && (strlen(ptr) == 4))
{
/* Strip off the ".cat", and try again */