Sophie

Sophie

distrib > Mandriva > cs4.0 > i586 > by-pkgid > a00d0f1300d0d6796729cd82518482f4 > files > 15

MySQL-5.0.24-1mdv2007.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