summaryrefslogtreecommitdiff
path: root/external/libmariadb/mariadb-msvc.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/libmariadb/mariadb-msvc.patch.1')
-rw-r--r--external/libmariadb/mariadb-msvc.patch.113
1 files changed, 13 insertions, 0 deletions
diff --git a/external/libmariadb/mariadb-msvc.patch.1 b/external/libmariadb/mariadb-msvc.patch.1
new file mode 100644
index 000000000000..60fddae793ec
--- /dev/null
+++ b/external/libmariadb/mariadb-msvc.patch.1
@@ -0,0 +1,13 @@
+--- mariadb/libmysql/my_pthread.c.orig 2013-04-17 15:45:52.025896770 +0200
++++ mariadb/libmysql/my_pthread.c 2013-04-17 15:47:32.292895908 +0200
+@@ -28,6 +28,10 @@
+
+ #ifdef _WIN32
+
++#ifndef ETIMEDOUT /* does not exist MSVC 2008 but was added in MSVC 2010 */
++#define ETIMEDOUT 145
++#endif
++
+ int
+ pthread_cond_init (pthread_cond_t *cv, const pthread_condattr_t *attr)
+ {