3a8f34af4e
most 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 server programs and libraries.
30 lines
754 B
Text
30 lines
754 B
Text
$NetBSD: patch-al,v 1.1.1.1 2003/12/20 16:00:43 martti Exp $
|
|
|
|
--- include/my_pthread.h.orig 2003-12-14 21:23:47.000000000 +0000
|
|
+++ include/my_pthread.h 2003-12-20 12:09:31.000000000 +0000
|
|
@@ -19,7 +19,13 @@
|
|
#ifndef _my_pthread_h
|
|
#define _my_pthread_h
|
|
|
|
+/* defines __NetBSD_Version__ */
|
|
+#if defined(__NetBSD__)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
#include <errno.h>
|
|
+#include <signal.h>
|
|
#ifndef ETIME
|
|
#define ETIME ETIMEDOUT /* For FreeBSD */
|
|
#endif
|
|
@@ -301,7 +307,11 @@
|
|
#endif
|
|
|
|
#ifndef HAVE_NONPOSIX_SIGWAIT
|
|
+#if defined (__NetBSD__) && (__NetBSD_Version__ < 106130000)
|
|
+#define my_sigwait(A,B) __pthread_sigwait((A),(B))
|
|
+#else
|
|
#define my_sigwait(A,B) sigwait((A),(B))
|
|
+#endif
|
|
#else
|
|
int my_sigwait(const sigset_t *set,int *sig);
|
|
#endif
|