Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

include: move ssize_t workaround to uv-win.h

  • Loading branch information...
bnoordhuis authored and piscisaureus committed Jul 30, 2012
1 parent 514265e commit 4168855da57f4f7b2552cbf3f718761ab7f47e77
Showing with 6 additions and 6 deletions.
  1. +6 −0 include/uv-private/uv-win.h
  2. +0 −6 include/uv.h
@@ -23,6 +23,12 @@
# define _WIN32_WINNT 0x0502
#endif

#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
typedef intptr_t ssize_t;
# define _SSIZE_T_
# define _SSIZE_T_DEFINED
#endif

#include <process.h>
#include <stdint.h>
#include <winsock2.h>
@@ -57,12 +57,6 @@ extern "C" {

#include "ares.h"

#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
typedef intptr_t ssize_t;
# define _SSIZE_T_
# define _SSIZE_T_DEFINED
#endif

#if defined(__unix__) || defined(__POSIX__) || defined(__APPLE__)
# include "uv-private/uv-unix.h"
#else

0 comments on commit 4168855

Please sign in to comment.
You can’t perform that action at this time.