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
17476e27
Commit
17476e27
authored
Aug 14, 2009
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fixes for Windows, AIX, HP/UX and Sun Studio11, from Timothy Smith.
parent
27a782f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
11 deletions
+20
-11
CMakeLists.txt
CMakeLists.txt
+1
-0
cmd-line-utils/readline/util.c
cmd-line-utils/readline/util.c
+7
-2
storage/innodb_plugin/handler/i_s.cc
storage/innodb_plugin/handler/i_s.cc
+10
-8
storage/innodb_plugin/include/univ.i
storage/innodb_plugin/include/univ.i
+2
-1
No files found.
CMakeLists.txt
View file @
17476e27
...
...
@@ -137,6 +137,7 @@ ENDIF(MSVC)
IF
(
WIN32
)
ADD_DEFINITIONS
(
"-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE"
)
ADD_DEFINITIONS
(
"-D_WIN32_WINNT=0x0501"
)
ENDIF
(
WIN32
)
# default to x86 platform. We'll check for X64 in a bit
...
...
cmd-line-utils/readline/util.c
View file @
17476e27
...
...
@@ -81,8 +81,13 @@ rl_alphabetic (c)
#if defined (HANDLE_MULTIBYTE)
int
_rl_walphabetic
(
wc
)
wchar_t
wc
;
/*
Portability issue with VisualAge C++ Professional / C for AIX Compiler, Version 6:
"util.c", line 84.1: 1506-343 (S) Redeclaration of _rl_walphabetic differs
from previous declaration on line 110 of "rlmbutil.h".
So, put type in the function signature here.
*/
_rl_walphabetic
(
wchar_t
wc
)
{
int
c
;
...
...
storage/innodb_plugin/handler/i_s.cc
View file @
17476e27
...
...
@@ -69,14 +69,16 @@ do { \
#define STRUCT_FLD(name, value) value
#endif
static
const
ST_FIELD_INFO
END_OF_ST_FIELD_INFO
=
{
STRUCT_FLD
(
field_name
,
NULL
),
STRUCT_FLD
(
field_length
,
0
),
STRUCT_FLD
(
field_type
,
MYSQL_TYPE_NULL
),
STRUCT_FLD
(
value
,
0
),
STRUCT_FLD
(
field_flags
,
0
),
STRUCT_FLD
(
old_name
,
""
),
STRUCT_FLD
(
open_method
,
SKIP_OPEN_TABLE
)};
/* Don't use a static const variable here, as some C++ compilers (notably
HPUX aCC: HP ANSI C++ B3910B A.03.65) can't handle it. */
#define END_OF_ST_FIELD_INFO \
{STRUCT_FLD(field_name, NULL), \
STRUCT_FLD(field_length, 0), \
STRUCT_FLD(field_type, MYSQL_TYPE_NULL), \
STRUCT_FLD(value, 0), \
STRUCT_FLD(field_flags, 0), \
STRUCT_FLD(old_name, ""), \
STRUCT_FLD(open_method, SKIP_OPEN_TABLE)}
/*
Use the following types mapping:
...
...
storage/innodb_plugin/include/univ.i
View file @
17476e27
...
...
@@ -408,7 +408,8 @@ it is read. */
/* Minimize cache-miss latency by moving data at addr into a cache before
it is read or written. */
#
define
UNIV_PREFETCH_RW
(
addr
)
__builtin_prefetch
(
addr
,
1
,
3
)
#
elif
defined
(
__SUNPRO_C
)
||
defined
(
__SUNPRO_CC
)
/* Sun Studio includes sun_prefetch.h as of version 5.9 */
#
elif
(
defined
(
__SUNPRO_C
)
&
&
__SUNPRO_C
>=
0x590
)
||
(defined(__SUNPRO_CC)
&
&
__SUNPRO_CC
>=
0x590
)
#
include
<
sun_prefetch
.
h
>
#
if
__SUNPRO_C
>=
0x550
#
undef
UNIV_INTERN
...
...
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