Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1b41cdf3
Commit
1b41cdf3
authored
Apr 17, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed alloca handling the way mingw does it (reported by Vincent
Béron).
parent
150cd5a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
malloc.h
include/msvcrt/malloc.h
+4
-3
No files found.
include/msvcrt/malloc.h
View file @
1b41cdf3
...
...
@@ -60,7 +60,6 @@ typedef struct _heapinfo
extern
"C"
{
#endif
void
*
_alloca
(
MSVCRT
(
size_t
));
void
*
_expand
(
void
*
,
MSVCRT
(
size_t
));
int
_heapadd
(
void
*
,
MSVCRT
(
size_t
));
int
_heapchk
(
void
);
...
...
@@ -79,9 +78,11 @@ void* MSVCRT(realloc)(void*,MSVCRT(size_t));
}
#endif
#ifndef USE_MSVCRT_PREFIX
static
inline
void
*
alloca
(
MSVCRT
(
size_t
)
i
)
{
return
_alloca
(
i
);
}
# ifdef __GNUC__
# define _alloca(x) __builtin_alloca((x))
# define alloca(x) __builtin_alloca((x))
# endif
#endif
/* USE_MSVCRT_PREFIX */
#endif
/* __WINE_MALLOC_H */
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