~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/global.h

  • Committer: Brian Aker
  • Date: 2008-08-10 06:21:31 UTC
  • mfrom: (287.2.3 ipv6-fixes)
  • Revision ID: brian@tangent.org-20080810062131-tyzi9lskss7gbi13
Merge + closesocket() fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
/* Some defines of functions for portability */
488
488
 
489
489
#undef remove           /* Crashes MySQL on SCO 5.0.0 */
490
 
#define closesocket(A)  close(A)
491
490
#ifndef uint64_t2double
492
491
#define uint64_t2double(A) ((double) (uint64_t) (A))
493
492
#define my_off_t2double(A)  ((double) (my_off_t) (A))
622
621
typedef off_t os_off_t;
623
622
 
624
623
#define socket_errno    errno
625
 
#define closesocket(A)  close(A)
626
624
#define SOCKET_EINTR    EINTR
627
625
#define SOCKET_EAGAIN   EAGAIN
628
626
#define SOCKET_ETIMEDOUT SOCKET_EINTR