mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
include: Remove PRIdS definitions
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -65,11 +65,6 @@ char *strndup(const char *s, size_t n);
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
/* Imitate define of inttypes.h */
|
|
||||||
# ifndef PRIdS
|
|
||||||
# define PRIdS "Id"
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifndef PRIu64
|
# ifndef PRIu64
|
||||||
# if __WORDSIZE == 64
|
# if __WORDSIZE == 64
|
||||||
# define PRIu64 "lu"
|
# define PRIu64 "lu"
|
||||||
@@ -162,7 +157,6 @@ int gettimeofday(struct timeval *__p, void *__t);
|
|||||||
#else /* _WIN32 */
|
#else /* _WIN32 */
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#define PRIdS "zd"
|
|
||||||
|
|
||||||
#define _XCLOSESOCKET close
|
#define _XCLOSESOCKET close
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user