2013-09-26 17:14:40 +02:00

16 lines
592 B
Plaintext

$NetBSD: patch-av,v 1.3 2011/08/02 14:10:34 taca Exp $
* Handle DragonFly as the same as FreeBSD.
--- sql/mysqld.cc.orig 2011-07-01 15:22:19.000000000 +0000
+++ sql/mysqld.cc
@@ -171,7 +171,7 @@ static void getvolumeID(BYTE *volumeName
int initgroups(const char *,unsigned int);
#endif
-#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H) && !defined(HAVE_FEDISABLEEXCEPT)
+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(HAVE_IEEEFP_H) && !defined(HAVE_FEDISABLEEXCEPT)
#include <ieeefp.h>
#ifdef HAVE_FP_EXCEPT // Fix type conflict
typedef fp_except fp_except_t;