Move sim_ending decl out of ifdef
@@ -81,7 +81,6 @@ class GpiHandleStore {
};
static GpiHandleStore unique_handles;
-static bool sim_ending = false;
#define CHECK_AND_STORE(_x) unique_handles.check_and_store(_x)
#define CLEAR_STORE() unique_handles.clear()
@@ -93,6 +92,8 @@ static bool sim_ending = false;
#endif
+static bool sim_ending = false;
+
static size_t gpi_print_registered_impl() {
vector<GpiImplInterface *>::iterator iter;
for (iter = registered_impls.begin(); iter != registered_impls.end();
