summaryrefslogtreecommitdiffstats
path: root/src/bfstd.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-05-03 09:29:19 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-05-03 09:29:19 -0400
commit7e5357a1cf40ebaa7ffaeebfd3a88c3ba93eb1a7 (patch)
tree5a792a12d92518d2250611e05332f9904307f157 /src/bfstd.h
parent6d59961d6d5ce91529a17bdad380ee78fa866564 (diff)
downloadbfs-7e5357a1cf40ebaa7ffaeebfd3a88c3ba93eb1a7.tar.xz
style: Don't use tabs to indent preprocessor directives
Diffstat (limited to 'src/bfstd.h')
-rw-r--r--src/bfstd.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/bfstd.h b/src/bfstd.h
index f85b74f..028e4e6 100644
--- a/src/bfstd.h
+++ b/src/bfstd.h
@@ -21,29 +21,29 @@ bool is_nonexistence_error(int error);
#include <fcntl.h>
#ifndef O_EXEC
-# ifdef O_PATH
-# define O_EXEC O_PATH
-# else
-# define O_EXEC O_RDONLY
-# endif
+# ifdef O_PATH
+# define O_EXEC O_PATH
+# else
+# define O_EXEC O_RDONLY
+# endif
#endif
#ifndef O_SEARCH
-# ifdef O_PATH
-# define O_SEARCH O_PATH
-# else
-# define O_SEARCH O_RDONLY
-# endif
+# ifdef O_PATH
+# define O_SEARCH O_PATH
+# else
+# define O_SEARCH O_RDONLY
+# endif
#endif
#ifndef O_DIRECTORY
-# define O_DIRECTORY 0
+# define O_DIRECTORY 0
#endif
#include <fnmatch.h>
#if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE)
-# define FNM_CASEFOLD FNM_IGNORECASE
+# define FNM_CASEFOLD FNM_IGNORECASE
#endif
// #include <libgen.h>
@@ -144,10 +144,10 @@ int xminor(dev_t dev);
// #include <sys/stat.h>
#if __APPLE__
-# define st_atim st_atimespec
-# define st_ctim st_ctimespec
-# define st_mtim st_mtimespec
-# define st_birthtim st_birthtimespec
+# define st_atim st_atimespec
+# define st_ctim st_ctimespec
+# define st_mtim st_mtimespec
+# define st_birthtim st_birthtimespec
#endif
// #include <unistd.h>