mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Win port fixes
client/mysqltest.c: Check for HAVE_SYS_WAIT_H Define WEXITSTATUS if not defined
This commit is contained in:
parent
b608f091db
commit
d305f6d3ce
1 changed files with 5 additions and 0 deletions
|
|
@ -60,7 +60,12 @@
|
|||
#include <sys/stat.h>
|
||||
#include <violite.h>
|
||||
#include <regex.h> /* Our own version of lib */
|
||||
#ifdef HAVE_SYS_WAIT_H
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
#ifndef WEXITSTATUS
|
||||
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
||||
#endif
|
||||
#define MAX_QUERY 131072
|
||||
#define MAX_VAR_NAME 256
|
||||
#define MAX_COLUMNS 256
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue