ganapathi / rpms / mariadb

Forked from rpms/mariadb 4 years ago
Clone

Blame SOURCES/mariadb-errno.patch

4b7078
--- mariadb-10.0.10/include/my_sys.h.p1	2014-03-30 19:56:37.000000000 +0200
4b7078
+++ mariadb-10.0.10/include/my_sys.h	2014-04-07 15:30:20.627060157 +0200
4b7078
@@ -209,13 +209,7 @@ extern void my_large_free(uchar *ptr);
4b7078
 #define my_safe_afree(ptr, size, max_alloca_sz) my_afree(ptr)
4b7078
 #endif /* HAVE_ALLOCA */
4b7078
 
4b7078
-#ifndef errno				/* did we already get it? */
4b7078
-#ifdef HAVE_ERRNO_AS_DEFINE
4b7078
-#include <errno.h>			/* errno is a define */
4b7078
-#else
4b7078
-extern int errno;			/* declare errno */
4b7078
-#endif
4b7078
-#endif					/* #ifndef errno */
4b7078
+#include <errno.h>				/* errno is a define */
4b7078
 extern char *home_dir;			/* Home directory for user */
4b7078
 extern MYSQL_PLUGIN_IMPORT char  *mysql_data_home;
4b7078
 extern const char *my_progname;		/* program-name (printed in errors) */