Skip to content
Snippets Groups Projects
Commit 7c68b3ee authored by deuce's avatar deuce
Browse files

Fix Win32/Linux 32-bit offset builds.

parent 2dddd4d9
No related branches found
No related tags found
No related merge requests found
......@@ -180,16 +180,16 @@ typedef int32_t time32_t;
# define PRIdOFF PRId64
# define PRIuOFF PRIu64
# else
# define PRIdOFF PRId32
# define PRIuOFF PRIu32
# define PRIdOFF "ld"
# define PRIuOFF "lu"
# endif
#elif defined(__linux__) || defined(__sun__)
# if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS==64)
# define PRIdOFF PRId64
# define PRIuOFF PRIu64
# else
# define PRIdOFF PRId64
# define PRIuOFF PRIu64
# define PRIdOFF PRId32
# define PRIuOFF PRIu32
# endif
#else
# define PRIdOFF PRId64
......
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