mirror of
https://github.com/crioux/turbo-linecount.git
synced 2024-10-27 17:24:01 +00:00
xfer
This commit is contained in:
parent
13607b0743
commit
2d27fc56e6
@ -78,14 +78,22 @@ BEGIN_TURBOLINECOUNT_NAMESPACE;
|
|||||||
|
|
||||||
#if (defined (__APPLE__) && defined (__MACH__))
|
#if (defined (__APPLE__) && defined (__MACH__))
|
||||||
typedef off_t tlc_fileoffset_t;
|
typedef off_t tlc_fileoffset_t;
|
||||||
#define TLC_LINECOUNT_FMT "%lld"
|
#ifdef __LP64__
|
||||||
|
#define TLC_LINECOUNT_FMT "%ld"
|
||||||
|
#else
|
||||||
|
#define TLC_LINECOUNT_FMT "%lld"
|
||||||
|
#endif
|
||||||
#elif defined(_LARGEFILE64_SOURCE)
|
#elif defined(_LARGEFILE64_SOURCE)
|
||||||
#if defined(__CYGWIN__)
|
#if defined(__CYGWIN__)
|
||||||
typedef _off64_t tlc_fileoffset_t;
|
typedef _off64_t tlc_fileoffset_t;
|
||||||
#else
|
#else
|
||||||
typedef off64_t tlc_fileoffset_t;
|
typedef off64_t tlc_fileoffset_t;
|
||||||
#endif
|
#endif
|
||||||
#define TLC_LINECOUNT_FMT "%lld"
|
#ifdef __LP64__
|
||||||
|
#define TLC_LINECOUNT_FMT "%ld"
|
||||||
|
#else
|
||||||
|
#define TLC_LINECOUNT_FMT "%lld"
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
typedef off_t tlc_fileoffset_t;
|
typedef off_t tlc_fileoffset_t;
|
||||||
#define TLC_LINECOUNT_FMT "%d"
|
#define TLC_LINECOUNT_FMT "%d"
|
||||||
|
Loading…
Reference in New Issue
Block a user