summaryrefslogtreecommitdiffstats
path: root/ksirc/getdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/getdate.c')
-rw-r--r--ksirc/getdate.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ksirc/getdate.c b/ksirc/getdate.c
new file mode 100644
index 00000000..a0ccb561
--- /dev/null
+++ b/ksirc/getdate.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <time.h>
+
+int main() {
+ printf("#define COMPILE_DATE %d\n", (int) time(NULL));
+ return 0;
+}