~flier-lu/libmemcached/win32-vs2008

« back to all changes in this revision

Viewing changes to libmemcached/common.h

  • Committer: Flier Lu
  • Date: 2011-01-07 03:54:51 UTC
  • Revision ID: flier.lu@gmail.com-20110107035451-s00z5whtosrzq9j9
-h

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <stdlib.h>
23
23
#include <string.h>
24
24
 
25
 
#ifndef WIN32
 
25
#ifdef WIN32
 
26
# define snprintf _snprintf
 
27
# define strtoull strtoul
 
28
#else
26
29
# include <strings.h>
27
30
# include <unistd.h>
28
31
#endif