Repository: reef
Updated Branches:
  refs/heads/master 0a48ea9e6 -> a431a8c3f


[REEF-1909] Fix Compilation errors in VSC++ 2013 and 2015

JIRA: [REEF-1909](https://issues.apache.org/jira/browse/REEF-1909)

This closes #1398


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/a431a8c3
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/a431a8c3
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/a431a8c3

Branch: refs/heads/master
Commit: a431a8c3f81635368556750283085584afcaa06b
Parents: 0a48ea9
Author: Julia Wang <[email protected]>
Authored: Thu Oct 19 19:00:01 2017 -0700
Committer: Sergiy Matusevych <[email protected]>
Committed: Sun Oct 22 20:09:45 2017 -0700

----------------------------------------------------------------------
 lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/a431a8c3/lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp 
b/lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp
index 9618485..c569dd6 100644
--- a/lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp
+++ b/lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp
@@ -135,7 +135,7 @@ jbyteArray JavaByteArrayFromManagedByteArray(
   return NULL;
 }
 
-thread_local JNIEnv *t_env = NULL;
+__declspec(thread) JNIEnv *t_env = NULL;
 JNIEnv* RetrieveEnv(JavaVM* jvm) {
   if (NULL == t_env)
   {

Reply via email to