diff --git a/src/backend/storage/lmgr/s_lock.c b/src/backend/storage/lmgr/s_lock.c index 443837a4913..e12b683d98a 100644 --- a/src/backend/storage/lmgr/s_lock.c +++ b/src/backend/storage/lmgr/s_lock.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.35 2004/12/31 22:01:05 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.36 2005/07/30 03:07:40 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -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 782fe6ee6c7..762fca184d6 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