]> git.cworth.org Git - notmuch/blobdiff - compat/check_asctime.c
asctime: check for standards compliance (Solaris support)
[notmuch] / compat / check_asctime.c
diff --git a/compat/check_asctime.c b/compat/check_asctime.c
new file mode 100644 (file)
index 0000000..b0e56f0
--- /dev/null
@@ -0,0 +1,11 @@
+#include <time.h>
+#include <stdio.h>
+
+int main()
+{
+    struct tm tm;
+
+    (void) asctime_r (&tm, NULL);
+
+    return (0);
+}