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
36bf482d
Commit
36bf482d
authored
Jun 14, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-8285 compile fails under Mac OS X 10.6.8 due to use of strnlen
#include <m_string.h> where strnlen() is used
parent
e2879ac5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
storage/connect/xobject.cpp
storage/connect/xobject.cpp
+1
-0
strings/CMakeLists.txt
strings/CMakeLists.txt
+1
-1
No files found.
storage/connect/xobject.cpp
View file @
36bf482d
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
/* Include mariaDB header file. */
/* Include mariaDB header file. */
/***********************************************************************/
/***********************************************************************/
#include "my_global.h"
#include "my_global.h"
#include "m_string.h"
/***********************************************************************/
/***********************************************************************/
/* Include required application header files */
/* Include required application header files */
...
...
strings/CMakeLists.txt
View file @
36bf482d
...
@@ -26,7 +26,7 @@ SET(STRINGS_SOURCES bchange.c bmove_upp.c ctype-big5.c ctype-bin.c ctype-cp932.c
...
@@ -26,7 +26,7 @@ SET(STRINGS_SOURCES bchange.c bmove_upp.c ctype-big5.c ctype-bin.c ctype-cp932.c
my_strchr.c strcont.c strappend.c
)
my_strchr.c strcont.c strappend.c
)
IF
(
NOT HAVE_STRNLEN
)
IF
(
NOT HAVE_STRNLEN
)
# OSX
does
not have strnlen
# OSX
below 10.7 did
not have strnlen
SET
(
STRINGS_SOURCES
${
STRINGS_SOURCES
}
strnlen.c
)
SET
(
STRINGS_SOURCES
${
STRINGS_SOURCES
}
strnlen.c
)
ENDIF
()
ENDIF
()
# Avoid dependencies on perschema data defined in mysys
# Avoid dependencies on perschema data defined in mysys
...
...
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