aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-11-27 20:15:25 +0100
committerMax Kellermann <max@duempel.org>2011-11-27 20:15:25 +0100
commitcd108ba3aa9f4b0b8ebea3ce463c1e6e1e5a5abe (patch)
tree08e7a3d7581d71814554c9f5f5c15899dbbd0f14 /src/directory.h
parent2bb5bfa74e52c3a547e5f46e25156cc8d7cade65 (diff)
downloadmpd-cd108ba3aa9f4b0b8ebea3ce463c1e6e1e5a5abe.tar.gz
mpd-cd108ba3aa9f4b0b8ebea3ce463c1e6e1e5a5abe.tar.xz
mpd-cd108ba3aa9f4b0b8ebea3ce463c1e6e1e5a5abe.zip
directory: rename attribute "stat" to "have_stat"
"stat" is a macro on mingw32, which is a pretty stupid thing, and this commit works around this build failure.
Diffstat (limited to 'src/directory.h')
-rw-r--r--src/directory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.h b/src/directory.h
index 5c36291eb..9c0a9b567 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -43,7 +43,7 @@ struct directory {
time_t mtime;
ino_t inode;
dev_t device;
- bool stat; /* not needed if ino_t == dev_t == 0 is impossible */
+ bool have_stat; /* not needed if ino_t == dev_t == 0 is impossible */
char path[sizeof(long)];
};