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
6e0d5623
Commit
6e0d5623
authored
Jan 21, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing yassl tests on OSX
WORDS_BIGENDIAN was wrongly defined to 1
parent
4060fe7d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
config.h.cmake
config.h.cmake
+7
-1
configure.cmake
configure.cmake
+2
-2
No files found.
config.h.cmake
View file @
6e0d5623
...
...
@@ -428,7 +428,13 @@
#endif
#define STRUCT_RLIMIT struct rlimit
#ifdef __APPLE__
#if __BIG_ENDIAN
#define WORDS_BIGENDIAN 1
#endif
#else
#cmakedefine WORDS_BIGENDIAN 1
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler calls
it, or to nothing if 'inline' is not supported under any name. */
...
...
configure.cmake
View file @
6e0d5623
...
...
@@ -702,9 +702,9 @@ int main() {
#
INCLUDE
(
TestBigEndian
)
IF
(
APPLE
)
# Can
'r
run endian test on universal PPC/Intel binaries
# Can
not
run endian test on universal PPC/Intel binaries
# would return inconsistent result.
SET
(
WORDS_BIGENDIAN __BIG_ENDIAN CACHE INTERNAL
"big endian test"
)
# config.h.cmake includes a special #ifdef for Darwin
ELSE
()
TEST_BIG_ENDIAN
(
WORDS_BIGENDIAN
)
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