Skip to content

Commit a0fd8f7

Browse files
author
emweb
authored
Merge pull request emweb#108 from caseymcc/wt4_mysqlwin_fix
Fix compile issue in wtdbomysql for Windows
2 parents c9e1a9e + a126334 commit a0fd8f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Wt/Dbo/backend/MySQL.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
#ifdef WT_WIN32
1717
#define snprintf _snprintf
18+
#define timegm _mkgmtime
1819
#include <winsock2.h>
20+
#include <ctime>
1921
#endif
2022
#include <mysql.h>
2123
#include <errmsg.h>

0 commit comments

Comments
 (0)