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
666342d3
Commit
666342d3
authored
Aug 08, 2002
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- portability fix for AIX in include/my_sys.h: define alloca as a
compiler builtin when using gcc
parent
3f48e036
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
include/my_sys.h
include/my_sys.h
+9
-0
No files found.
include/my_sys.h
View file @
666342d3
...
@@ -146,6 +146,15 @@ extern my_string my_strdup(const char *from,myf MyFlags);
...
@@ -146,6 +146,15 @@ extern my_string my_strdup(const char *from,myf MyFlags);
#define ORIG_CALLER_INFO
/* nothing */
#define ORIG_CALLER_INFO
/* nothing */
#endif
#endif
#ifdef HAVE_ALLOCA
#ifdef HAVE_ALLOCA
#ifdef __GNUC__
/* Remove any previous definitions. */
#undef alloca
#define alloca(size) __builtin_alloca (size)
#else
/* xlc */
#ifdef _AIX
#pragma alloca
#endif
/* _AIX */
#endif
/* __GNUC__ */
#define my_alloca(SZ) alloca((size_t) (SZ))
#define my_alloca(SZ) alloca((size_t) (SZ))
#define my_afree(PTR) {}
#define my_afree(PTR) {}
#else
#else
...
...
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