From 82e3949017882a29ff9cb0575d78145d02adb608 Mon Sep 17 00:00:00 2001
From: Adam Welc <adam.welc@oracle.com>
Date: Wed, 6 Jul 2016 04:05:00 +0200
Subject: [PATCH] Added missing file.

---
 .../fficall/src/common/localecharset_fastr.c  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c

diff --git a/com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c b/com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c
new file mode 100644
index 0000000000..ba28eaf017
--- /dev/null
+++ b/com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c
@@ -0,0 +1,20 @@
+/*
+ * This material is distributed under the GNU General Public License
+ * Version 2. You may review the terms of this license at
+ * http://www.gnu.org/licenses/gpl-2.0.html
+ *
+ * Copyright (c) 1995-2015, The R Core Team
+ * Copyright (c) 2003, The R Foundation
+ * Copyright (c) 2015, 2016, Oracle and/or its affiliates
+ *
+ * All rights reserved.
+ */
+
+#include <Rinternals.h>
+#include <stdlib.h>
+
+const char *locale2charset(const char *locale)
+{
+	return "UTF-8";
+}
+
-- 
GitLab