2004-10-28 20:05:14 +00:00
|
|
|
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 @@
|
2004-09-09 09:00:05 +00:00
|
|
|
#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
|