Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
975e2f37
Commit
975e2f37
authored
Oct 16, 2006
by
stewart@willster.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#21253 NdbApi.h should not include my_config.h
parent
8353d3e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
config/ac-macros/ha_ndbcluster.m4
config/ac-macros/ha_ndbcluster.m4
+13
-0
storage/ndb/include/ndb_types.h.in
storage/ndb/include/ndb_types.h.in
+6
-8
No files found.
config/ac-macros/ha_ndbcluster.m4
View file @
975e2f37
...
...
@@ -308,6 +308,19 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [
AC_SUBST(NDB_DEFS)
AC_SUBST(ndb_cxxflags_fix)
NDB_SIZEOF_CHARP="$ac_cv_sizeof_charp"
NDB_SIZEOF_CHAR="$ac_cv_sizeof_char"
NDB_SIZEOF_SHORT="$ac_cv_sizeof_short"
NDB_SIZEOF_INT="$ac_cv_sizeof_int"
NDB_SIZEOF_LONG="$ac_cv_sizeof_long"
NDB_SIZEOF_LONG_LONG="$ac_cv_sizeof_long_long"
AC_SUBST([NDB_SIZEOF_CHARP])
AC_SUBST([NDB_SIZEOF_CHAR])
AC_SUBST([NDB_SIZEOF_SHORT])
AC_SUBST([NDB_SIZEOF_INT])
AC_SUBST([NDB_SIZEOF_LONG])
AC_SUBST([NDB_SIZEOF_LONG_LONG])
AC_CONFIG_FILES(storage/ndb/include/Makefile dnl
storage/ndb/src/Makefile storage/ndb/src/common/Makefile dnl
storage/ndb/docs/Makefile dnl
...
...
storage/ndb/include/ndb_types.h.in
View file @
975e2f37
...
...
@@ -21,8 +21,6 @@
#ifndef NDB_TYPES_H
#define NDB_TYPES_H
#include <my_config.h>
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(_WIN64)
#define NDB_SIZEOF_CHARP SIZEOF_CHARP
#define NDB_SIZEOF_CHAR SIZEOF_CHAR
...
...
@@ -33,12 +31,12 @@
typedef unsigned __int64 Uint64;
typedef signed __int64 Int64;
#else
#define NDB_SIZEOF_CHARP
SIZEOF_CHARP
#define NDB_SIZEOF_CHAR
SIZEOF_CHAR
#define NDB_SIZEOF_INT
SIZEOF_INT
#define NDB_SIZEOF_SHORT
SIZEOF_SHORT
#define NDB_SIZEOF_LONG
SIZEOF_LONG
#define NDB_SIZEOF_LONG_LONG
SIZEOF_LONG_LONG
#define NDB_SIZEOF_CHARP
@NDB_SIZEOF_CHARP@
#define NDB_SIZEOF_CHAR
@NDB_SIZEOF_CHAR@
#define NDB_SIZEOF_INT
@NDB_SIZEOF_INT@
#define NDB_SIZEOF_SHORT
@NDB_SIZEOF_SHORT@
#define NDB_SIZEOF_LONG
@NDB_SIZEOF_LONG@
#define NDB_SIZEOF_LONG_LONG
@NDB_SIZEOF_LONG_LONG@
typedef unsigned long long Uint64;
typedef signed long long Int64;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment