summary refs log tree commit diff stats
path: root/tools/detect/timesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/detect/timesize.c')
-rw-r--r--tools/detect/timesize.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/detect/timesize.c b/tools/detect/timesize.c
new file mode 100644
index 000000000..35fc90982
--- /dev/null
+++ b/tools/detect/timesize.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <time.h>
+
+int main(void) {
+  printf("%ld\n", sizeof(time_t));
+  return 0;
+}
+