#ifdef __MWERKS__
#include <SIOUX.h>
+#define USE_SIOUX
#endif
#ifdef THINK_C
#ifdef USE_MAC_SHARED_LIBRARY
PyMac_AddLibResources();
#endif
-#ifdef __MWERKS__
+#ifdef USE_SIOUX
SIOUXSettings.asktosaveonclose = 0;
SIOUXSettings.showstatusline = 0;
SIOUXSettings.tabspaces = 4;
#ifdef USE_MAC_SHARED_LIBRARY
PyMac_AddLibResources();
#endif
-#ifdef __MWERKS__
+#ifdef USE_SIOUX
SIOUXSettings.asktosaveonclose = 0;
SIOUXSettings.showstatusline = 0;
SIOUXSettings.tabspaces = 4;
else
keep = keep_normal;
-#ifdef __MWERKS__
- if (keep)
- printf("\n[Terminated]\n");
+#ifdef USE_SIOUX
+ if (keep) {
+ SIOUXSettings.standalone = 1;
+ SIOUXSettings.autocloseonquit = 0;
+ SIOUXSetTitle("\pÇterminatedÈ");
+ }
else
SIOUXSettings.autocloseonquit = 1;
#endif