Skip to content

Commit 50921d1

Browse files
committed
Listened to the robot and took his advice
1 parent 2492574 commit 50921d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

inst/include/Rcpp/r/check_r_headers.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323
// Allow an escape hatch
2424
#if !defined(RCPP_NO_R_HEADERS_CHECK)
2525

26-
#if defined(R_R_H) & defined(USING_R)
27-
#pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is generally not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
26+
#if defined(R_R_H) && defined(USING_R)
27+
#pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
2828
#endif
2929

3030
#if defined(RINTERFACE_H_)
3131
#pragma message "Rinterface.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
3232
#endif
3333

3434
#if defined(R_INTERNALS_H_)
35-
#pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is generally not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
35+
#pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
3636
#endif
3737

3838
#if defined(R_DEFINES_H_)
39-
#pragma message "Rdefines.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is generally not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
39+
#pragma message "Rdefines.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
4040
#endif
4141

4242
#endif // escape hatch '!defined(RCPP_NO_R_HEADERS_CHECK)'

0 commit comments

Comments
 (0)