summaryrefslogtreecommitdiff
path: root/src/strptime.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-09-17 14:41:15 -0700
committerGitHub <noreply@github.com>2016-09-17 14:41:15 -0700
commit132156766770da8340138aab117cf7e37787403c (patch)
tree5f837949c367f435d947833c6f52e37473357ee6 /src/strptime.cc
parenta3b573e1107729e743c96da8ed9272361ba6ae31 (diff)
parentc193cc3a5b4dbf39e19744cf4d30e616298eaa86 (diff)
downloadledger-132156766770da8340138aab117cf7e37787403c.tar.gz
ledger-132156766770da8340138aab117cf7e37787403c.tar.bz2
ledger-132156766770da8340138aab117cf7e37787403c.zip
Merge pull request #466 from schmave/win-1
Fix build under msys32; add Appveyor continuous build
Diffstat (limited to 'src/strptime.cc')
-rw-r--r--src/strptime.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strptime.cc b/src/strptime.cc
index b31954f4..b9d485d2 100644
--- a/src/strptime.cc
+++ b/src/strptime.cc
@@ -13,7 +13,7 @@
// limitations under the License.
-#ifdef WIN32
+#ifdef _WIN32
// Implement strptime under windows
#include "strptime.h"
@@ -186,4 +186,4 @@ char* strptime(const char *buf, const char *fmt, struct tm *tm) {
return _strptime(buf, fmt, tm);
}
-#endif // WIN32
+#endif // _WIN32