From a9ca786a6a875d38f54f50b7c23ea1ad5d247511 Mon Sep 17 00:00:00 2001
From: Peter Powell
Date: Sat, 4 May 2013 16:40:27 +0100
Subject: Improve feature detection in configure.
---
make/test/clock_gettime.cpp | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 make/test/clock_gettime.cpp
(limited to 'make/test/clock_gettime.cpp')
diff --git a/make/test/clock_gettime.cpp b/make/test/clock_gettime.cpp
new file mode 100644
index 000000000..91d8cd412
--- /dev/null
+++ b/make/test/clock_gettime.cpp
@@ -0,0 +1,25 @@
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
+ *
+ *
+ * This file is part of InspIRCd. InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+
+#include
+
+int main() {
+ timespec time_spec;
+ clock_gettime(CLOCK_REALTIME, &time_spec);
+ return 0;
+}
--
cgit v1.3.1-10-gc9f91