Skip to content

Commit

Permalink
Fixes for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 8, 2015
1 parent 03c9cc9 commit f5fe4d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mongolite.Rproj
Expand Up @@ -17,5 +17,5 @@ StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --with-keep.source --install-tests
PackageInstallArgs: --with-keep.source --install-tests --no-multiarch
PackageRoxygenize: rd,namespace
3 changes: 2 additions & 1 deletion src/Makevars.in
@@ -1,4 +1,5 @@
PKG_CPPFLAGS=-I. -Iyajl -Ibson -Imongoc @cflags@ -DBSON_COMPILATION -DMONGOC_COMPILATION
PKG_CPPFLAGS=-I. -Iyajl -Ibson -Imongoc @cflags@ -DBSON_COMPILATION -DMONGOC_COMPILATION \
-DBSON_EXTRA_ALIGN

LIBYAJL=yajl/yajl_alloc.o yajl/yajl_buf.o yajl/yajl_encode.o yajl/yajl_gen.o \
yajl/yajl_lex.o yajl/yajl_parser.o yajl/yajl_tree.o yajl/yajl_version.o \
Expand Down
8 changes: 4 additions & 4 deletions src/bson/bson-config.h
Expand Up @@ -112,11 +112,11 @@

/*
* Define to 1 if you want extra aligned types in libbson
* Moved to this in Makevars because it doesn't work well with mingw
* #if BSON_EXTRA_ALIGN != 1
* # undef BSON_EXTRA_ALIGN
* #endif
*/
#define BSON_EXTRA_ALIGN 1
#if BSON_EXTRA_ALIGN != 1
# undef BSON_EXTRA_ALIGN
#endif



Expand Down

0 comments on commit f5fe4d6

Please sign in to comment.