Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 1d7e41c

Browse files
committed
[[ VS2015 ]] Tweak libmysql so it builds under VS2015
This patch ensures that libmysql builds using VS2015. It includes a patch to ensure libmysql doesn't try and use its own version of timespec functions, which the latest VS CRT provides.
1 parent 34c88cb commit 1d7e41c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

libmysql/libmysql.gyp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@
190190
[
191191
'OS == "win"',
192192
{
193+
'defines':
194+
[
195+
# libmysql doesn't expect Win32 to supply struct timespec
196+
'_CRT_NO_TIME_T',
197+
'time_t=__time32_t',
198+
],
199+
193200
'link_settings':
194201
{
195202
'libraries':

0 commit comments

Comments
 (0)