Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > media > main-testing-src > by-pkgid > 91117ef1a9653edd6a912d3a095f594d > files > 14

mysql-5.0.84-0.1mdv2009.0.src.rpm

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