diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-11 11:01:51 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-11 11:01:51 -0500 |
commit | 59ba3d463cffb4da29b4b89e78bc5a3d1ccf51f6 (patch) | |
tree | 7a0850a14b7100eaa008ec6610308d52e6bb8a94 /arch/alpha | |
parent | 96d6ac441cabdd9b089e2306e926c67891fdf9fa (diff) | |
download | gem5-59ba3d463cffb4da29b4b89e78bc5a3d1ccf51f6.tar.xz |
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
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/alpha_linux_process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |