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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
666ec84b
Commit
666ec84b
authored
Nov 30, 2007
by
kent@mysql.com/kent-amd64.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
my_global.h:
Added 64 bit Mac OS X hard coded settings, for universal binaries
parent
611b737a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
30 deletions
+25
-30
include/my_global.h
include/my_global.h
+25
-30
No files found.
include/my_global.h
View file @
666ec84b
...
@@ -88,36 +88,31 @@
...
@@ -88,36 +88,31 @@
The macros below are used to allow build of Universal/fat binaries of
The macros below are used to allow build of Universal/fat binaries of
MySQL and MySQL applications under darwin.
MySQL and MySQL applications under darwin.
*/
*/
#ifdef TARGET_FAT_BINARY
#if defined(__APPLE__) && defined(__MACH__)
# undef SIZEOF_CHARP
# undef SIZEOF_CHARP
# undef SIZEOF_INT
# undef SIZEOF_SHORT
# undef SIZEOF_LONG
# undef SIZEOF_INT
# undef SIZEOF_LONG_LONG
# undef SIZEOF_LONG
# undef SIZEOF_OFF_T
# undef SIZEOF_LONG_LONG
# undef SIZEOF_SHORT
# undef SIZEOF_OFF_T
# undef WORDS_BIGENDIAN
#if defined(__i386__)
# define SIZEOF_SHORT 2
# undef WORDS_BIGENDIAN
# define SIZEOF_INT 4
# define SIZEOF_CHARP 4
# define SIZEOF_LONG_LONG 8
# define SIZEOF_INT 4
# define SIZEOF_OFF_T 8
# define SIZEOF_LONG 4
# if defined(__i386__) || defined(__ppc__)
# define SIZEOF_LONG_LONG 8
# define SIZEOF_CHARP 4
# define SIZEOF_OFF_T 8
# define SIZEOF_LONG 4
# define SIZEOF_SHORT 2
# elif defined(__x86_64__) || defined(__ppc64__)
# define SIZEOF_CHARP 8
#elif defined(__ppc__)
# define SIZEOF_LONG 8
# define WORDS_BIGENDIAN
# else
# define SIZEOF_CHARP 4
# error Building FAT binary for an unknown architecture.
# define SIZEOF_INT 4
# endif
# define SIZEOF_LONG 4
# if defined(__ppc__) || defined(__ppc64__)
# define SIZEOF_LONG_LONG 8
# define WORDS_BIGENDIAN
# define SIZEOF_OFF_T 8
# endif
# define SIZEOF_SHORT 2
#endif
/* defined(__APPLE__) && defined(__MACH__) */
#else
# error Building FAT binary for an unknown architecture.
#endif
#endif
/* TARGET_FAT_BINARY */
/*
/*
...
...
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