]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/macros.h
Rework "compiler quietening"
[user/henk/code/exim.git] / src / src / macros.h
index 243c1e5a0dd4f5a863d21d4e3547a65d95346bc5..a631877a151a38986799aa5e34c96e6b9adea5df 100644 (file)
@@ -1125,4 +1125,15 @@ typedef unsigned mcs_flags;
 #define MCS_AT_SPECIAL         BIT(2)  /* recognize @, @[], etc. */
 #define MCS_CACHEABLE          BIT(3)  /* no dynamic expansions used for pattern */
 
+/* Flags for open() */
+#ifdef O_CLOEXEC
+# define EXIM_CLOEXEC O_CLOEXEC
+#else
+# define EXIM_CLOEXEC 0
+#endif
+#ifdef O_NOFOLLOW
+# define EXIM_NOFOLLOW O_NOFOLLOW
+#else
+# define EXIM_NOFOLLOW 0
+#endif
 /* End of macros.h */