From bb636b9b83a8bc4c9a50a88b97ede775ad69f929 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Wed, 8 Jun 2016 07:22:09 +0900 Subject: [PATCH] PRIoff is also "%lld" for cygwin64 (issue #358) --- include/chibi/sexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chibi/sexp.h b/include/chibi/sexp.h index c5fa449e..4104e953 100755 --- a/include/chibi/sexp.h +++ b/include/chibi/sexp.h @@ -256,7 +256,7 @@ typedef short sexp_int32_t; # endif #endif -#if defined(__APPLE__) || defined(_WIN64) +#if defined(__APPLE__) || defined(_WIN64) || (defined(__CYGWIN__) && __SIZEOF_POINTER__ == 8) #define PRIoff "%lld" #else #define PRIoff "%ld"