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 | baa8f0127b251227a7eca57cbdd59c96eece2ee5 (patch) | |
tree | 9c5156d342e452efee9323d95c9564c166a45bf9 /include/my_global.h | |
parent | 69c9dbabe6cd436ba9a25cbcaca018675c240072 (diff) | |
download | mariadb-git-baa8f0127b251227a7eca57cbdd59c96eece2ee5.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 |