mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-11 13:14:45 -04:00
applied Tom Fogal's win64 patch for size_t
This commit is contained in:
parent
fda780a4a5
commit
09c1d2a113
@ -123,6 +123,18 @@ struct ArgTraits<unsigned char> {
|
|||||||
typedef ValueLike ValueCategory;
|
typedef ValueLike ValueCategory;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Microsoft implements size_t awkwardly.
|
||||||
|
#if defined(_MSC_VER) && defined(_M_X64)
|
||||||
|
/**
|
||||||
|
* size_ts have value-like semantics.
|
||||||
|
*/
|
||||||
|
template<>
|
||||||
|
struct ArgTraits<size_t> {
|
||||||
|
typedef ValueLike ValueCategory;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LONG_LONG
|
#ifdef HAVE_LONG_LONG
|
||||||
/**
|
/**
|
||||||
* unsigned long longs have value-like semantics.
|
* unsigned long longs have value-like semantics.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user