From 05e85e7f7edef09b821d63e473c6f547b30e1803 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 23 Jan 2006 16:51:35 +0000 Subject: [PATCH] Update SunOS platform strings --- golded3/golded3.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/golded3/golded3.cpp b/golded3/golded3.cpp index f4ffff2..3820729 100644 --- a/golded3/golded3.cpp +++ b/golded3/golded3.cpp @@ -129,10 +129,18 @@ #define __GVER_SHORTLOGNAME__ "Q" #define __GVER_CFGEXT__ ".gqx" #elif defined(__sun__) -#define __GVER_PLATFORM__ "/SUN" -#define __GVER_SHORTPLATFORM__ "SUN" -#define __GVER_SHORTLOGNAME__ "S" -#define __GVER_CFGEXT__ ".gsu" + #if defined(__i386__) + #define __GVER_PLATFORM__ "/SunX86" + #define __GVER_CFGEXT__ ".ges" + #elif defined(__sparc__) + #define __GVER_PLATFORM__ "/SunSparc" + #define __GVER_CFGEXT__ ".gsu" + #else + #define __GVER_PLATFORM__ "/Sun" + #define __GVER_CFGEXT__ ".gsu" + #endif + #define __GVER_SHORTPLATFORM__ "SUN" + #define __GVER_SHORTLOGNAME__ "S" #elif defined(__UNIX__) #define __GVER_PLATFORM__ "/UNX" #define __GVER_SHORTPLATFORM__ "UNX"