From f85518e9ef3ca2278c31a364a9a9b05dc99575e9 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 11 Jul 2008 21:51:21 +0000
Subject: [PATCH] *** empty log message ***

---
 Common/Context.cpp | 3 +++
 Common/Gmsh.cpp    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Common/Context.cpp b/Common/Context.cpp
index 117364945d..79db6610b3 100644
--- a/Common/Context.cpp
+++ b/Common/Context.cpp
@@ -7,6 +7,9 @@
 #include "Context.h"
 #include "Trackball.h"
 
+// the single static option context
+Context_T CTX;
+
 void Context_T::buildRotationMatrix(void)
 {
   if(useTrackball) {
diff --git a/Common/Gmsh.cpp b/Common/Gmsh.cpp
index 07ad8d3def..8a1f2a7773 100644
--- a/Common/Gmsh.cpp
+++ b/Common/Gmsh.cpp
@@ -25,7 +25,7 @@
 #include "PluginManager.h"
 #endif
 
-Context_T CTX;
+extern Context_T CTX;
 
 int GmshInitialize(int argc, char **argv)
 {
-- 
GitLab