diff options
author | Csaba Henk <csaba.henk@creo.hu> | 2007-04-01 13:24:57 +0000 |
---|---|---|
committer | Csaba Henk <csaba.henk@creo.hu> | 2007-04-01 13:24:57 +0000 |
commit | 3cba1d430930b71202bf8000d2052609ec92ab5d (patch) | |
tree | 4f3201062d6c00560b92f5016149291aefaa7641 /lib | |
parent | f69d432b7a9231ab4e4e92a361eb41e8a2cf7802 (diff) |
fix some FreeBSD related macros
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_misc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h index 0fabfe4..536d8e9 100644 --- a/lib/fuse_misc.h +++ b/lib/fuse_misc.h @@ -31,9 +31,9 @@ static inline void fuse_mutex_init(pthread_mutex_t *mut) #define ST_MTIM_NSEC_SET(stbuf, val) (stbuf)->st_mtim.tv_nsec = (val) #elif defined(HAVE_STRUCT_STAT_ST_ATIMESPEC) /* FreeBSD */ -#define ST_ATIM(stbuf) ((stbuf)->st_atimespec.tv_nsec) -#define ST_CTIM(stbuf) ((stbuf)->st_ctimespec.tv_nsec) -#define ST_MTIM(stbuf) ((stbuf)->st_mtimespec.tv_nsec) +#define ST_ATIM_NSEC(stbuf) ((stbuf)->st_atimespec.tv_nsec) +#define ST_CTIM_NSEC(stbuf) ((stbuf)->st_ctimespec.tv_nsec) +#define ST_MTIM_NSEC(stbuf) ((stbuf)->st_mtimespec.tv_nsec) #define ST_ATIM_NSEC_SET(stbuf, val) (stbuf)->st_atimespec.tv_nsec = (val) #define ST_MTIM_NSEC_SET(stbuf, val) (stbuf)->st_mtimespec.tv_nsec = (val) #else |