aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-02-05 13:21:21 +0000
committerVincent Richard <[email protected]>2013-02-05 13:21:21 +0000
commitc2474f2b2b581ddfd207095b4ee433757e2abfbf (patch)
treeff7350316f0da2ba53ab50bd356187763aa8eda3 /cmake
parentUpdated book. Added build target for HTML using HeVeA. (diff)
downloadvmime-c2474f2b2b581ddfd207095b4ee433757e2abfbf.tar.gz
vmime-c2474f2b2b581ddfd207095b4ee433757e2abfbf.zip
Check for localtime_r and gmtime_r at build instead of testing _REENTRANT. Use localtime_s and gmtime_s on Windows, if available.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.hpp.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/config.hpp.cmake b/cmake/config.hpp.cmake
index 8e7f727d..3d9aba92 100644
--- a/cmake/config.hpp.cmake
+++ b/cmake/config.hpp.cmake
@@ -63,6 +63,10 @@ typedef unsigned @VMIME_32BIT_TYPE@ vmime_uint32;
#cmakedefine01 VMIME_HAVE_GETTID
#cmakedefine01 VMIME_HAVE_SYSCALL
#cmakedefine01 VMIME_HAVE_SYSCALL_GETTID
+#cmakedefine01 VMIME_HAVE_GMTIME_S
+#cmakedefine01 VMIME_HAVE_GMTIME_R
+#cmakedefine01 VMIME_HAVE_LOCALTIME_S
+#cmakedefine01 VMIME_HAVE_LOCALTIME_R
#define VMIME_SENDMAIL_PATH "@VMIME_SENDMAIL_PATH@"