summaryrefslogtreecommitdiffstats
path: root/src/dir.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-10-08 10:58:22 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-10-10 11:18:06 -0400
commit271f6f44ea645c74f3130f03311b65e5dbdc7139 (patch)
tree6a1085d9946188f0b01e8f67333360c92a013d1b /src/dir.h
parent7122b28296f13d0a3401e79691d6f653153b79b5 (diff)
downloadbfs-271f6f44ea645c74f3130f03311b65e5dbdc7139.tar.xz
Fix some -Wundef-prefix warnings
Diffstat (limited to 'src/dir.h')
-rw-r--r--src/dir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dir.h b/src/dir.h
index 0040b95..35a459d 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -21,6 +21,8 @@
# define BFS_USE_GETDENTS true
# elif __linux__ || __FreeBSD__
# define BFS_USE_GETDENTS (BFS_HAS_GETDENTS || BFS_HAS_GETDENTS64 | BFS_HAS_GETDENTS64_SYSCALL)
+# else
+# define BFS_USE_GETDENTS false
# endif
#endif