From: Ali Saidi Date: Sat, 11 Feb 2006 16:01:51 +0000 (-0500) Subject: fix #if. I wonder why my compiler had no issues. Even though it is clearly X-Git-Tag: m5_2.0_beta1~87^2~107^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59ba3d463cffb4da29b4b89e78bc5a3d1ccf51f6;p=gem5.git fix #if. I wonder why my compiler had no issues. Even though it is clearly wrong arch/alpha/alpha_linux_process.cc: fix #if. I wonder why my compiler had no issues --HG-- extra : convert_revision : 880a0442b28811db5ec548ce940060d4b26ec634 --- diff --git a/arch/alpha/alpha_linux_process.cc b/arch/alpha/alpha_linux_process.cc index f2907433f..113b41472 100644 --- a/arch/alpha/alpha_linux_process.cc +++ b/arch/alpha/alpha_linux_process.cc @@ -316,7 +316,7 @@ class Linux { tgt->tgt_st_atime = htog(host->st_atime); tgt->tgt_st_mtime = htog(host->st_mtime); tgt->tgt_st_ctime = htog(host->st_ctime); -#ifdef STAT_HAVE_NSEC || BSD_HOST == 1 +#if defined(STAT_HAVE_NSEC) || (BSD_HOST == 1) tgt->st_atime_nsec = htog(host->st_atime_nsec); tgt->st_mtime_nsec = htog(host->st_mtime_nsec); tgt->st_ctime_nsec = htog(host->st_ctime_nsec);