* Numerous warning fixes and cleanups for compile on Linux for IBM S/390
[citadel.git] / citadel / citadel.h
index ed51301c21bd53c28bb42e767651b41ea8a46a3c..b62239f78abece7a6d5ea326c22c787f9478c5cd 100644 (file)
@@ -317,4 +317,14 @@ enum {
 }
 #endif
 
+#ifdef tmpnam
+#undef tmpnam
+#endif
+#define tmpnam(x)      CtdlTempFileName(__FILE__, __LINE__)
+
+#ifdef tmpfile
+#undef tmpfile
+#endif
+#define tmpfile()      CtdlTempFile()
+
 #endif /* CITADEL_H */