summaryrefslogtreecommitdiff
path: root/src/times.cc
diff options
context:
space:
mode:
authorTim Crews <tim@code-affinity.com>2013-06-14 21:29:47 -0700
committerTim Crews <tim@code-affinity.com>2013-06-14 21:29:47 -0700
commit0dbb38fe27e81790451a8233c5959e0fe26dc5ee (patch)
tree0af89e3e10e5c4fe7de0070e9e6ccc6cb8ee7d93 /src/times.cc
parentfe810fa13f1e814e69dee2484c8b2878d5101d6c (diff)
downloadfork-ledger-0dbb38fe27e81790451a8233c5959e0fe26dc5ee.tar.gz
fork-ledger-0dbb38fe27e81790451a8233c5959e0fe26dc5ee.tar.bz2
fork-ledger-0dbb38fe27e81790451a8233c5959e0fe26dc5ee.zip
Source changes needed for Microsoft Visual C++ compatibility.
Includes an implementation of strptime, compiled only for Win32 platform.
Diffstat (limited to 'src/times.cc')
-rw-r--r--src/times.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/times.cc b/src/times.cc
index f9a6c279..b1cb3494 100644
--- a/src/times.cc
+++ b/src/times.cc
@@ -33,6 +33,10 @@
#include "times.h"
+#ifdef WIN32
+#include "strptime.h"
+#endif
+
namespace ledger {
optional<datetime_t> epoch;