mysql8.4/mysql-errno.patch
2024-02-05 16:59:12 +01:00

15 lines
445 B
Diff

diff -Naur mysql-4.1.7-orig/include/my_global.h mysql-4.1.7/include/my_global.h
--- mysql-4.1.7-orig/include/my_global.h 2004-10-23 03:28:43.000000000 -0400
+++ mysql-4.1.7/include/my_global.h 2004-10-27 21:13:26.335448200 -0400
@@ -102,6 +102,10 @@
#define _GNU_SOURCE 1
#endif
+#ifdef __linux__
+#define HAVE_ERRNO_AS_DEFINE
+#endif
+
/* The client defines this to avoid all thread code */
#if defined(UNDEF_THREADS_HACK)
#undef THREAD