Skip to content

Commit cdfca12

Browse files
committed
allow long long on 64bit windows
1 parent 86bc3bc commit cdfca12

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2018-02-07 Kevin Ushey <[email protected]>
2+
3+
* inst/include/Rcpp/longlong.h: Allow long long on 64bit Windows
4+
15
2018-01-21 Dirk Eddelbuettel <[email protected]>
26

37
* README.md: Added new section 'Support'

inst/include/Rcpp/longlong.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,11 @@ __extension__ typedef unsigned long long int rcpp_ulong_long_type;
3838
#endif
3939
#endif
4040

41+
// The Rtools toolchain provides long long on 64bit Windows
42+
#ifdef _WIN64
43+
typedef long long rcpp_long_long_type;
44+
typedef unsigned long long rcpp_ulong_long_type;
45+
#define RCPP_HAS_LONG_LONG_TYPES
46+
#endif
47+
4148
#endif

0 commit comments

Comments
 (0)