Skip to content

Commit

Permalink
Fix compilation on macOS 13 + R-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 25, 2024
1 parent 875cc6e commit d1a81d3
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions inst/include/xml2_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <libxml/tree.h>
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>

template <typename T> class XPtr {
Expand Down
1 change: 1 addition & 0 deletions src/connection.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/connection.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/init.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_doc.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_init.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_namespace.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_node.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_output.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_schema.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_url.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define __XML2_XML_UTILS__

#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down
1 change: 1 addition & 0 deletions src/xml2_xpath.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>
#undef R_NO_REMAP

Expand Down

0 comments on commit d1a81d3

Please sign in to comment.