summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Configure.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-17 15:49:16 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-17 15:49:16 (GMT)
commit0fd1c5d8091569e1a94b37b5388422d55ba222c9 (patch)
tree2ab149dd74f0a603b5bd1b702139ab31087ca712 /Source/kwsys/Configure.hxx.in
parent590ca038840ada98fa8c0879e87e05665e580b8e (diff)
downloadCMake-0fd1c5d8091569e1a94b37b5388422d55ba222c9.zip
CMake-0fd1c5d8091569e1a94b37b5388422d55ba222c9.tar.gz
CMake-0fd1c5d8091569e1a94b37b5388422d55ba222c9.tar.bz2
ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times.
Diffstat (limited to 'Source/kwsys/Configure.hxx.in')
-rw-r--r--Source/kwsys/Configure.hxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.hxx.in b/Source/kwsys/Configure.hxx.in
index 5a6c75e..1b9df6b 100644
--- a/Source/kwsys/Configure.hxx.in
+++ b/Source/kwsys/Configure.hxx.in
@@ -54,6 +54,9 @@
# define @KWSYS_NAMESPACE@_ios @KWSYS_NAMESPACE@_ios
#endif
+/* Whether struct stat has the st_mtim member for high resolution times. */
+#define @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM @KWSYS_STAT_HAS_ST_MTIM@
+
/* If building a C++ file in kwsys itself, give the source file
access to the macros without a configured namespace. */
#if defined(KWSYS_NAMESPACE)
@@ -68,6 +71,7 @@
# define KWSYS_IOS_USE_SSTREAM @KWSYS_NAMESPACE@_IOS_USE_SSTREAM
# define KWSYS_IOS_USE_STRSTREAM_H @KWSYS_NAMESPACE@_IOS_USE_STRSTREAM_H
# define KWSYS_IOS_USE_STRSTREA_H @KWSYS_NAMESPACE@_IOS_USE_STRSTREA_H
+# define KWSYS_STAT_HAS_ST_MTIM @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM
#endif
#endif