Commit 1f97d42b authored by petr@mysql.com's avatar petr@mysql.com

fix compilation failure on serg's box: we shouldn't

use USE_PRAGMA_INTERFACE before include of my_global.h,
where it is defined
parent d3fbb135
...@@ -16,12 +16,12 @@ ...@@ -16,12 +16,12 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE) #if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface #pragma interface
#endif #endif
#include <my_global.h>
/* Class responsible for allocation of im commands. */ /* Class responsible for allocation of im commands. */
class Instance_map; class Instance_map;
......
...@@ -16,13 +16,13 @@ ...@@ -16,13 +16,13 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include <my_pthread.h>
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE) #if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface #pragma interface
#endif #endif
#include <my_global.h>
#include <my_pthread.h>
pthread_handler_t listener(void *arg); pthread_handler_t listener(void *arg);
......
...@@ -16,13 +16,12 @@ ...@@ -16,13 +16,12 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
#include <my_global.h> #include <my_global.h>
#include <my_pthread.h> #include <my_pthread.h>
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
pthread_handler_t mysql_connection(void *arg); pthread_handler_t mysql_connection(void *arg);
......
...@@ -16,16 +16,16 @@ ...@@ -16,16 +16,16 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
/* /*
Options - all possible options for the instance manager grouped in one Options - all possible options for the instance manager grouped in one
struct. struct.
*/ */
#include <my_global.h> #include <my_global.h>
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
struct Options struct Options
{ {
#ifdef __WIN__ #ifdef __WIN__
......
/* cOPYRIght (C) 2003 MySQL AB & MySQL Finland AB & TCX DataKonsult AB /* Copyright (C) 2003 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
......
...@@ -50,13 +50,12 @@ ...@@ -50,13 +50,12 @@
in manner, similar to ``quit'' signals. in manner, similar to ``quit'' signals.
*/ */
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
#include <my_global.h> #include <my_global.h>
#include <my_pthread.h> #include <my_pthread.h>
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
/* /*
Thread_info - repository entry for each worker thread Thread_info - repository entry for each worker thread
......
...@@ -16,15 +16,16 @@ ...@@ -16,15 +16,16 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
#include <my_global.h> #include <my_global.h>
#include <my_sys.h> #include <my_sys.h>
#include <hash.h> #include <hash.h>
#if defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
/* /*
User_map -- all users and passwords User_map -- all users and passwords
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment