summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/regress/383.test2
-rw-r--r--test/unit/t_value.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/regress/383.test b/test/regress/383.test
index ab4372fd..019c91eb 100644
--- a/test/regress/383.test
+++ b/test/regress/383.test
@@ -23,7 +23,7 @@ test bal Assets:Investments --lots --date-format %Y-%m-%d
100 AA {2.00 GBP} [2014-01-01] Assets:Investments
end test
-test bal Assets:Investments --lots --date-format %g-%b-%d
+test bal Assets:Investments --lots --date-format %y-%b-%d
100 AA {2.00 GBP} [14-Jan-01] Assets:Investments
end test
diff --git a/test/unit/t_value.cc b/test/unit/t_value.cc
index 398e075b..a31c84c8 100644
--- a/test/unit/t_value.cc
+++ b/test/unit/t_value.cc
@@ -6,7 +6,7 @@
#include "value.h"
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__CYGWIN__)
#include "strptime.h"
#endif