mirror of
https://github.com/red0124/ssp.git
synced 2025-01-22 20:55:18 +01:00
Make ssize_t equal to intptr_t for non-POSIX environments
This commit is contained in:
parent
c6f6ba9821
commit
383de57f9a
@ -34,7 +34,7 @@ inline ssize_t get_line_file(char** lineptr, size_t* n, FILE* stream) {
|
||||
}
|
||||
#else
|
||||
|
||||
using ssize_t = int64_t;
|
||||
using ssize_t = intptr_t;
|
||||
|
||||
ssize_t get_line_file(char** lineptr, size_t* n, FILE* fp) {
|
||||
if (lineptr == nullptr || n == nullptr || fp == nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user