~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libmysql/client.c

  • Committer: Brian Aker
  • Date: 2008-07-08 01:31:43 UTC
  • Revision ID: brian@tangent.org-20080708013143-cxed3zfbzwr1t0wp
DOS removal. DOS... hard to believe aye?

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
#ifdef   HAVE_PWD_H
77
77
#include <pwd.h>
78
78
#endif
79
 
#if !defined(MSDOS) && !defined(__WIN__)
 
79
 
80
80
#include <sys/socket.h>
81
81
#include <netinet/in.h>
82
82
#include <arpa/inet.h>
87
87
#ifdef HAVE_SYS_SELECT_H
88
88
#include <sys/select.h>
89
89
#endif
90
 
#endif /*!defined(MSDOS) && !defined(__WIN__) */
 
90
 
91
91
#ifdef HAVE_SYS_UN_H
92
92
#  include <sys/un.h>
93
93
#endif
94
94
 
95
 
#if defined(MSDOS) || defined(__WIN__)
96
 
#define perror(A)
97
 
#else
98
95
#include <errno.h>
99
96
#define SOCKET_ERROR -1
100
 
#endif
101
97
 
102
98
#ifdef __WIN__
103
99
#define CONNECT_TIMEOUT 20