]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/filesystem/config/has_stat_st_birthtimespec.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / filesystem / config / has_stat_st_birthtimespec.cpp
diff --git a/ceph/src/boost/libs/filesystem/config/has_stat_st_birthtimespec.cpp b/ceph/src/boost/libs/filesystem/config/has_stat_st_birthtimespec.cpp
new file mode 100644 (file)
index 0000000..175b293
--- /dev/null
@@ -0,0 +1,19 @@
+//  Copyright 2020 Andrey Semashev
+
+//  Distributed under the Boost Software License, Version 1.0.
+//  See http://www.boost.org/LICENSE_1_0.txt
+
+//  See library home page at http://www.boost.org/libs/filesystem
+
+#include "platform_config.hpp"
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+int main()
+{
+    struct stat st;
+    st.st_birthtimespec.tv_sec = 1;
+    st.st_birthtimespec.tv_nsec = 10;
+}