diff options
author | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-05-25 14:27:52 +0100 |
---|---|---|
committer | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-05-25 14:27:52 +0100 |
commit | c42772c7f2d7ec7fb838ec3076afc6620ab24322 (patch) | |
tree | 9c5156d342e452efee9323d95c9564c166a45bf9 /include/my_global.h | |
parent | 8f8e1d6fb85d4be1e8e44beb22b26a72f76ac84e (diff) | |
download | mariadb-git-c42772c7f2d7ec7fb838ec3076afc6620ab24322.tar.gz |
bug#49968: Properly define HAVE_ERRNO_AS_DEFINE for the appropriate
OpenBSD releases.
Apply patch from Brad Smith, thanks!
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index e4e53aca20a..e284acce186 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -55,6 +55,10 @@ #define USE_PRAGMA_INTERFACE #endif +#if defined(__OpenBSD__) && (OpenBSD >= 200411) +#define HAVE_ERRNO_AS_DEFINE +#endif + #if defined(i386) && !defined(__i386__) #define __i386__ #endif |