Skip to content

Commit

Permalink
added -DCOMPILING_DPLYR in Makevars so that we don't have to define i…
Browse files Browse the repository at this point in the history
…t in every .cpp file
  • Loading branch information
romainfrancois committed Feb 12, 2014
1 parent ec981ac commit f66874c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PKG_CPPFLAGS+=-I../inst/include/
PKG_CPPFLAGS+=-I../inst/include/ -DCOMPILING_DPLYR
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PKG_CPPFLAGS+=-I../inst/include/
PKG_CPPFLAGS+=-I../inst/include/ -DCOMPILING_DPLYR
1 change: 0 additions & 1 deletion src/address.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define COMPILING_DPLYR
#include <Rcpp.h>
using namespace Rcpp;

Expand Down
1 change: 0 additions & 1 deletion src/dplyr.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define COMPILING_DPLYR
#include <dplyr.h>

using namespace Rcpp ;
Expand Down
1 change: 0 additions & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define COMPILING_DPLYR
#include <Rcpp.h>
#include <dplyr.h>

Expand Down
1 change: 0 additions & 1 deletion src/window.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define COMPILING_DPLYR
#include <Rcpp.h>
using namespace Rcpp;

Expand Down

0 comments on commit f66874c

Please sign in to comment.