File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 3232
3333#include < Rcpp/platform/sysmacros.h>
3434
35- // include <sys/sysmacros.h>, and then remove stupid
36- // 'major', 'minor' and 'makedev' defines. this works
37- // around Rinternals.h eventually including this header
38- // and letting the macros leak through
39- #if defined(__GNUC__) && !defined(__clang__)
40-
41- # ifdef major
42- # warning Macro 'major' will be undefined! See https://bugzilla.redhat.com/show_bug.cgi?id=130601.
43- # endif
44-
45- # ifdef minor
46- # warning Macro 'minor' will be undefined! See https://bugzilla.redhat.com/show_bug.cgi?id=130601.
47- # endif
48-
49- # ifdef makedev
50- # warning Macro 'makedev' will be undefined! See https://bugzilla.redhat.com/show_bug.cgi?id=130601.
51- # endif
52-
53- # include < sys/sysmacros.h>
54-
55- # undef major
56- # undef minor
57- # undef makedev
58-
59- #endif
60-
6135// include R headers, but set R_NO_REMAP and access everything via Rf_ prefixes
6236#define MAXELTSIZE 8192
6337#define R_NO_REMAP
You can’t perform that action at this time.
0 commit comments