Commit 64b5315e authored by sunny's avatar sunny

branches/zip: Make this file usable from within HotBackup. A new file has

been introduced called hb_univ.i. This file should have all the HotBackup
specific configuration.
parent 8cc05e77
...@@ -40,6 +40,10 @@ Created 1/20/1994 Heikki Tuuri ...@@ -40,6 +40,10 @@ Created 1/20/1994 Heikki Tuuri
#ifndef univ_i #ifndef univ_i
#define univ_i #define univ_i
#ifdef UNIV_HOTBACKUP
#include "hb_univ.i"
#endif /* UNIV_HOTBACKUP */
#define INNODB_VERSION_MAJOR 1 #define INNODB_VERSION_MAJOR 1
#define INNODB_VERSION_MINOR 0 #define INNODB_VERSION_MINOR 0
#define INNODB_VERSION_BUGFIX 4 #define INNODB_VERSION_BUGFIX 4
...@@ -96,8 +100,10 @@ the virtual method table (vtable) in GCC 3. */ ...@@ -96,8 +100,10 @@ the virtual method table (vtable) in GCC 3. */
in compiling more Posix-compatible. These headers also define __WIN__ in compiling more Posix-compatible. These headers also define __WIN__
if we are compiling on Windows. */ if we are compiling on Windows. */
#ifndef UNIV_HOTBACKUP
# include <my_global.h> # include <my_global.h>
# include <my_pthread.h> # include <my_pthread.h>
#endif
/* Include <sys/stat.h> to get S_I... macros defined for os0file.c */ /* Include <sys/stat.h> to get S_I... macros defined for os0file.c */
# include <sys/stat.h> # include <sys/stat.h>
...@@ -110,7 +116,9 @@ if we are compiling on Windows. */ ...@@ -110,7 +116,9 @@ if we are compiling on Windows. */
/* Include the header file generated by GNU autoconf */ /* Include the header file generated by GNU autoconf */
# ifndef __WIN__ # ifndef __WIN__
# include "config.h" #ifndef UNIV_HOTBACKUP
# include "config.h"
#endif /* UNIV_HOTBACKUP */
# endif # endif
# ifdef HAVE_SCHED_H # ifdef HAVE_SCHED_H
...@@ -334,13 +342,15 @@ typedef long int lint; ...@@ -334,13 +342,15 @@ typedef long int lint;
#ifdef __WIN__ #ifdef __WIN__
typedef __int64 ib_int64_t; typedef __int64 ib_int64_t;
typedef unsigned __int64 ib_uint64_t; typedef unsigned __int64 ib_uint64_t;
#else #elif !defined(UNIV_HOTBACKUP)
/* Note: longlong and ulonglong come from MySQL headers. */ /* Note: longlong and ulonglong come from MySQL headers. */
typedef longlong ib_int64_t; typedef longlong ib_int64_t;
typedef ulonglong ib_uint64_t; typedef ulonglong ib_uint64_t;
#endif #endif
#ifndef UNIV_HOTBACKUP
typedef unsigned long long int ullint; typedef unsigned long long int ullint;
#endif /* UNIV_HOTBACKUP */
#ifndef __WIN__ #ifndef __WIN__
#if SIZEOF_LONG != SIZEOF_VOIDP #if SIZEOF_LONG != SIZEOF_VOIDP
......
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