summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r--mysys/my_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 225b3115fbe..b5005b82478 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -73,14 +73,14 @@ void my_init(void)
#if defined(HAVE_PTHREAD_INIT)
pthread_init(); /* Must be called before DBUG_ENTER */
#endif
-#ifdef UNIXWARE7
- (void) isatty(0); /* Go around connect() bug in UW7 */
-#endif
my_thread_global_init();
#ifndef __WIN__
sigfillset(&my_signals); /* signals blocked by mf_brkhant */
#endif
#endif /* THREAD */
+#ifdef UNIXWARE_7
+ (void) isatty(0); /* Go around connect() bug in UW7 */
+#endif
{
DBUG_ENTER("my_init");
DBUG_PROCESS(my_progname ? my_progname : (char*) "unknown");