unifdef ultrix

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2024-02-11 14:50:29 -08:00
parent c3f3eb1284
commit 0df284b450

View file

@ -99,7 +99,7 @@ _XlcMapOSLocaleName(
char *osname,
char *siname)
{
#if defined(hpux) || defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(sgi) || defined(ultrix) || defined(WIN32) || defined(__UNIXOS2__) || defined(linux)
#if defined(hpux) || defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(sgi) || defined(WIN32) || defined(__UNIXOS2__) || defined(linux)
# ifdef hpux
# ifndef _LastCategory
/* HPUX 9 and earlier */
@ -111,25 +111,19 @@ _XlcMapOSLocaleName(
# define ENDCHAR ' '
# endif
# else
# ifdef ultrix
# define SKIPCOUNT 2
# define STARTCHAR '\001'
# define ENDCHAR '\001'
# if defined(WIN32) || defined(__UNIXOS2__)
# define SKIPCOUNT 1
# define STARTCHAR '='
# define ENDCHAR ';'
# define WHITEFILL
# else
# if defined(WIN32) || defined(__UNIXOS2__)
# define SKIPCOUNT 1
# define STARTCHAR '='
# if defined(linux)
# define STARTSTR "LC_CTYPE="
# define ENDCHAR ';'
# define WHITEFILL
# else
# if defined(linux)
# define STARTSTR "LC_CTYPE="
# define ENDCHAR ';'
# else
# if !defined(sun) || defined(SVR4)
# define STARTCHAR '/'
# define ENDCHAR '/'
# endif
# if !defined(sun) || defined(SVR4)
# define STARTCHAR '/'
# define ENDCHAR '/'
# endif
# endif
# endif