diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-04-14 13:04:20 -0400 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-04-14 13:04:20 -0400 |
commit | 7cabdf0446534e40e9fac0625dda0d5d4ea21a5b (patch) | |
tree | 515ac8c5735717e0710952c11274a7169667cd2d /include | |
parent | 46decdde430578a72e5852a62ae51f59d80f582f (diff) | |
download | mariadb-git-7cabdf0446534e40e9fac0625dda0d5d4ea21a5b.tar.gz |
Try to make MySQL compile under Cygwin.
Bug fix for Dec OSF on Alpha.
Minor bug fix for server RPM.
Tweak RPM support for mysqld-max.
configure.in:
Try to identify FIND_PROC for Cygwin. Thanks to Pete French
<pfrench@firstcallgroup.co.uk> for the initial patch.
Add -mieee to C(XX)FLAGS on Dec OSF for alpha, to fix bug w/ floating
point arithmetic. Thanks to nick@netability.ie for the heads up.
Don't make mysql-test depend on --with-bench; always build it. Thanks
to smurf@play.smurf.noris.de for the patch.
include/global.h:
Fix #defines if we are using __CYGWIN__. Thanks to Pete French
<pfrench@firstcallgroup.co.uk> for the initial patch.
support-files/mysql.spec.sh:
Change %preun script so that it doesn't shut down mysqld after an
upgrade. Thanks to Andy Dustman for the patch.
Add a %post Max script to restart mysqld after upgrading to mysqld-max.
Diffstat (limited to 'include')
-rw-r--r-- | include/global.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h index 2ad4a1387a9..2c9157630f4 100644 --- a/include/global.h +++ b/include/global.h @@ -28,6 +28,19 @@ #include <os2.h> #endif /* __EMX__ */ +#ifdef __CYGWIN__ +/* We use a Unix API, so pretend it's not Windows */ +#undef WIN +#undef WIN32 +#undef _WIN +#undef _WIN32 +#undef _WIN64 +#undef __WIN__ +#undef __WIN32__ +#define HAVE_ERRNO_AS_DEFINE +#endif /* __CYGWIN__ */ + + #if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32) #include <config-win.h> #else |