1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

WL#5486: Remove code for unsupported platforms

Remove MS-DOS specific code.
This commit is contained in:
Davi Arnaut
2010-07-15 08:16:06 -03:00
parent 07e7b4d6fe
commit 13f7a1d244
43 changed files with 225 additions and 483 deletions

View File

@ -32,7 +32,7 @@
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
#if !defined(MSDOS) && !defined(__WIN__)
#if !defined(__WIN__)
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@ -54,7 +54,7 @@
extern ulong net_buffer_length;
extern ulong max_allowed_packet;
#if defined(MSDOS) || defined(__WIN__)
#if defined(__WIN__)
#define ERRNO WSAGetLastError()
#define perror(A)
#else