~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle.h

  • Committer: Monty Taylor
  • Date: 2011-02-12 21:49:59 UTC
  • mto: (2165.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110212214959-bve8sh4hu761y48m
Updated the windows build to be able to build from the command line and not to show warnings on strncpy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
#ifdef _WIN32
50
50
# define WIN32_LEAN_AND_MEAN
 
51
 
51
52
# include <Windows.h>
52
53
# include <winsock2.h>
53
54
# include <ws2tcpip.h>
 
55
# include <io.h>
54
56
 
 
57
# undef close
 
58
# define close _close
55
59
typedef unsigned int in_port_t;
56
60
typedef long ssize_t;
57
61