89094db8e9
popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL client programs and libraries.
29 lines
761 B
C
29 lines
761 B
C
$NetBSD: patch-include_my_pthread.h,v 1.1.1.1 2011/04/25 21:12:53 adam Exp $
|
|
|
|
--- include/my_pthread.h.orig 2011-04-16 09:13:17.000000000 +0000
|
|
+++ include/my_pthread.h
|
|
@@ -20,6 +20,13 @@
|
|
|
|
#include "my_global.h" /* myf */
|
|
|
|
+/* defines __NetBSD_Version__ */
|
|
+#if defined(__NetBSD__)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
+#include <signal.h>
|
|
+
|
|
#ifndef ETIME
|
|
#define ETIME ETIMEDOUT /* For FreeBSD */
|
|
#endif
|
|
@@ -238,6 +245,10 @@ int sigwait(sigset_t *set, int *sig);
|
|
#endif
|
|
|
|
#ifndef HAVE_NONPOSIX_SIGWAIT
|
|
+#if defined (__NetBSD__) && (__NetBSD_Version__ < 106130000)
|
|
+#define my_sigwait(A,B) __pthread_sigwait((A),(B))
|
|
+#else
|
|
+#endif
|
|
#define my_sigwait(A,B) sigwait((A),(B))
|
|
#else
|
|
int my_sigwait(const sigset_t *set,int *sig);
|