summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:18:08 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:18:08 -0800
commit481268a77f1e8d568a0b9b42279df753e21818df (patch)
tree61d7dbdb330954b11c0e0601fa5a30ac454b5aa0
parent8c48c1e04723b1df9998794b0f33083d73ea5204 (diff)
unifdef AIXV3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/Event.c2
-rw-r--r--src/Intrinsic.c7
2 files changed, 2 insertions, 7 deletions
diff --git a/src/Event.c b/src/Event.c
index b485931..df04bea 100644
--- a/src/Event.c
+++ b/src/Event.c
@@ -1319,7 +1319,7 @@ DispatchEvent(XEvent *event, Widget widget)
typedef enum _GrabType { pass, ignore, remap } GrabType;
-#if !defined(AIXV3) || !defined(AIXSHLIB)
+#if !defined(AIXSHLIB)
static /* AIX shared libraries are broken */
#endif
Boolean
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index a6a1907..cbff486 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -1170,17 +1170,13 @@ static String
ExtractLocaleName(String lang)
{
-#if defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(AIXV3) || defined(WIN32) || defined (linux)
+#if defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(WIN32) || defined (linux)
#ifdef WIN32
#define SKIPCOUNT 1
#define STARTCHAR '='
#define ENDCHAR ';'
#define WHITEFILL
#else
-#if (defined(AIXV3) && !defined(AIXV4))
-#define STARTCHAR ' '
-#define ENDCHAR ' '
-#else
#if defined(linux)
#define STARTSTR "LC_CTYPE="
#define ENDCHAR ';'
@@ -1191,7 +1187,6 @@ ExtractLocaleName(String lang)
#endif
#endif
#endif
-#endif
String start;
String end;