[rkward/releases/0.6.5] rkward/rbackend: Fix Windows build
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Sun Mar 13 19:57:11 UTC 2016
Git commit cf5d7cd16a49bc31ae0d0fc139285a3d9da74886 by Thomas Friedrichsmeier.
Committed on 13/03/2016 at 19:56.
Pushed by tfry into branch 'releases/0.6.5'.
Fix Windows build
M +1 -1 rkward/rbackend/rkrbackend.cpp
http://commits.kde.org/rkward/cf5d7cd16a49bc31ae0d0fc139285a3d9da74886
diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index a898a21..4c9fdb9 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -85,7 +85,7 @@ void* RKRBackend::default_global_context = 0;
// why oh why isn't Rinterface.h available on Windows?
LibExtern void* R_GlobalContext;
LibExtern uintptr_t R_CStackLimit;
- LibExtern void R_SaveGlobalEnvToFile(char*);
+ extern "C" void R_SaveGlobalEnvToFile(char*);
#else
# include <Rinterface.h>
#endif
More information about the rkward-tracker
mailing list