mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-10 22:55:29 +00:00
Merge pull request #2503 from jacquesg/solaris-http-parser
Solaris doesn't necessarily have stdint.h, use inttypes.h
This commit is contained in:
commit
e0af2517bf
2
deps/http-parser/http_parser.h
vendored
2
deps/http-parser/http_parser.h
vendored
@ -40,6 +40,8 @@ typedef __int64 int64_t;
|
|||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
typedef SIZE_T size_t;
|
typedef SIZE_T size_t;
|
||||||
typedef SSIZE_T ssize_t;
|
typedef SSIZE_T ssize_t;
|
||||||
|
#elif defined(__sun) || defined(__sun__)
|
||||||
|
#include <sys/inttypes.h>
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user