openbsd-ports/databases/mysql/patches/patch-include_my_global_h
sthen 7ed794627d Update MySQL to 5.1.33; from Brad.
Tested by giovanni@ on amd64 and several ports@ readers.
No problems found with a complete bulk build.
2009-07-27 15:19:15 +00:00

15 lines
410 B
Plaintext

$OpenBSD: patch-include_my_global_h,v 1.7 2009/07/27 15:19:15 sthen Exp $
--- include/my_global.h.orig Fri Feb 13 19:52:18 2009
+++ include/my_global.h Thu Mar 5 10:10:31 2009
@@ -55,6 +55,10 @@
#define USE_PRAGMA_INTERFACE
#endif
+#if defined(__OpenBSD__) && (OpenBSD >= 200411)
+#define HAVE_ERRNO_AS_DEFINE
+#endif /* __OpenBSD__ */
+
#if defined(i386) && !defined(__i386__)
#define __i386__
#endif