From: Bruce Momjian Date: Sat, 30 Jul 2005 03:07:42 +0000 (+0000) Subject: SUNOS4_CC -> SUNOS_CC. X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=842264665da4cec0f2a4074a358fa0b4e8240103;p=users%2Fbernd%2Fpostgres.git SUNOS4_CC -> SUNOS_CC. --- diff --git a/src/backend/storage/lmgr/s_lock.c b/src/backend/storage/lmgr/s_lock.c index 7daa038132..4648c96100 100644 --- a/src/backend/storage/lmgr/s_lock.c +++ b/src/backend/storage/lmgr/s_lock.c @@ -241,7 +241,7 @@ tas_dummy() /* really means: extern int tas(slock_t * *lock); */ { -#ifdef SUNOS4_CC +#ifdef SUNOS_CC asm(".seg \"data\""); asm(".seg \"text\""); #else diff --git a/src/template/sunos4 b/src/template/sunos4 index 782fe6ee6c..762fca184d 100644 --- a/src/template/sunos4 +++ b/src/template/sunos4 @@ -1,6 +1,6 @@ if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode - CFLAGS="-v -DSUNOS4_CC" # -v is like gcc -Wall + CFLAGS="-v -DSUNOS_CC" # -v is like gcc -Wall if test "$enable_debug" != yes; then CFLAGS="$CFLAGS -O" # any optimization breaks debug fi