summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/stdwinmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/stdwinmodule.c b/Modules/stdwinmodule.c
index 896207c..5ca798f 100644
--- a/Modules/stdwinmodule.c
+++ b/Modules/stdwinmodule.c
@@ -104,6 +104,8 @@ static type_lock StdwinLock; /* Lock held when interpreter not locked */
static object *StdwinError; /* Exception stdwin.error */
+int StdwinIsActive; /* True as soon as stdwin imported */
+
/* Window and menu object types declared here because of forward references */
typedef struct {
@@ -2631,6 +2633,7 @@ initstdwin()
}
#endif
inited = 1;
+ StdwinIsActive = 1;
}
m = initmodule("stdwin", stdwin_methods);
d = getmoduledict(m);