Skip to content
Snippets Groups Projects
Commit 7ac7c119 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

added a define for Win32 to detect already defined ssize_t.

parent 4f067b1d
No related branches found
No related tags found
No related merge requests found
......@@ -279,6 +279,7 @@
/* Define as the return type of signal handlers (int or void). */
#define RETSIGTYPE void
#ifndef _SSIZE_T_DEFINED
#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) || \
defined(__MINGW32__)
#elif defined(_WIN64)
......@@ -286,6 +287,8 @@
#else
#define ssize_t int
#endif
#define _SSIZE_T_DEFINED
#endif
/* Define to 'int' if socklen_t is not an available 'typedefed' type */
#ifndef HAVE_WS2TCPIP_H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment