fix #if. I wonder why my compiler had no issues. Even though it is clearly
authorAli Saidi <saidi@eecs.umich.edu>
Sat, 11 Feb 2006 16:01:51 +0000 (11:01 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Sat, 11 Feb 2006 16:01:51 +0000 (11:01 -0500)
wrong

arch/alpha/alpha_linux_process.cc:
    fix #if. I wonder why my compiler had no issues

--HG--
extra : convert_revision : 880a0442b28811db5ec548ce940060d4b26ec634

arch/alpha/alpha_linux_process.cc

index f2907433f1b155e15d76764357f79fa81be3b791..113b4147292a6195ec9b7829f7c69ae0e2f9cd5f 100644 (file)
@@ -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);