diff --git a/src/call_stan.cpp b/src/call_stan.cpp index ee44611..14138d8 100644 --- a/src/call_stan.cpp +++ b/src/call_stan.cpp @@ -1,8 +1,13 @@ #include #include #include +#if defined(EMSCRIPTEN) && !defined(__linux__) +#define MANUAL_LINUX_DEF 1 +#define __linux__ 1 +#endif #include + void store_functions(SEXP ll_fun, SEXP grad_fun); RcppExport SEXP call_stan_(SEXP options_vector, SEXP ll_fun, SEXP grad_fun) {