diff options
author | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-30 18:53:42 +0000 |
---|---|---|
committer | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-30 18:53:42 +0000 |
commit | 12c134ba7c8a00b6400aff9d41e1ae2bfe3bf686 (patch) | |
tree | 66c4907f4135921562119bf333206d83448863b8 /nfsmount.c | |
parent | 7dc80d93ae2ab50ed77b3c500d8d57370b77459c (diff) | |
download | busybox-w32-12c134ba7c8a00b6400aff9d41e1ae2bfe3bf686.tar.gz busybox-w32-12c134ba7c8a00b6400aff9d41e1ae2bfe3bf686.tar.bz2 busybox-w32-12c134ba7c8a00b6400aff9d41e1ae2bfe3bf686.zip |
Applied patch from Larry Doolittle to use preprocessor for defining
NFS_MOUNT_VERSION.
git-svn-id: svn://busybox.net/trunk/busybox@1716 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'nfsmount.c')
-rw-r--r-- | nfsmount.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nfsmount.c b/nfsmount.c index d661a99a4..b260a885f 100644 --- a/nfsmount.c +++ b/nfsmount.c | |||
@@ -93,7 +93,9 @@ static const int MS_NODIRATIME = 2048; /* Do not update directory access time | |||
93 | * so it is easiest to ignore the kernel altogether (at compile time). | 93 | * so it is easiest to ignore the kernel altogether (at compile time). |
94 | */ | 94 | */ |
95 | 95 | ||
96 | static const int NFS_MOUNT_VERSION = 4; | 96 | /* NOTE: Do not make this into a 'static const int' because the pre-processor |
97 | * needs to test this value in some #if statements. */ | ||
98 | #define NFS_MOUNT_VERSION 4 | ||
97 | 99 | ||
98 | struct nfs2_fh { | 100 | struct nfs2_fh { |
99 | char data[32]; | 101 | char data[32]; |