Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Mar 16, 2024
1 parent e1d27c7 commit 8747450
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c/driver/postgresql/copy/copy_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
#pragma once

// Windows
#if !defined(NOMINMAX)
#define NOMINMAX
#endif

#include <cstdint>

Expand Down
2 changes: 2 additions & 0 deletions r/adbcpostgresql/src/init.c → r/adbcpostgresql/src/init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <adbc.h>

extern "C" {
AdbcStatusCode AdbcDriverInit(int version, void* raw_driver, struct AdbcError* error);

static SEXP init_func_xptr = 0;
Expand All @@ -41,3 +42,4 @@ void R_init_adbcpostgresql(DllInfo* dll) {
R_PreserveObject(init_func_xptr);
UNPROTECT(1);
}
}
2 changes: 2 additions & 0 deletions r/adbcsqlite/src/init.c → r/adbcsqlite/src/init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <adbc.h>

extern "C" {
AdbcStatusCode SqliteDriverInit(int version, void* raw_driver, struct AdbcError* error);

static SEXP init_func_xptr = 0;
Expand All @@ -40,3 +41,4 @@ void R_init_adbcsqlite(DllInfo* dll) {
R_PreserveObject(init_func_xptr);
UNPROTECT(1);
}
}

0 comments on commit 8747450

Please sign in to comment.