Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
f9411cc4
Commit
f9411cc4
authored
Sep 28, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If memalign isn't available, fall back on valloc.
parent
f9dc58a3
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
195 additions
and
194 deletions
+195
-194
configure
configure
+183
-190
configure.in
configure.in
+1
-1
include/common.h
include/common.h
+8
-3
include/defs.h.in
include/defs.h.in
+3
-0
No files found.
configure
View file @
f9411cc4
This diff is collapsed.
Click to expand it.
configure.in
View file @
f9411cc4
...
...
@@ -56,7 +56,7 @@ AC_CHECK_FUNC(inet_aton,,[
])
AC_CHECK_FUNCS(vasprintf)
AC_CHECK_FUNCS(swab)
AC_CHECK_FUNCS(
memalign
)
AC_CHECK_FUNCS(
[memalign valloc]
)
AC_CHECK_FUNCS(sigrelse)
...
...
include/common.h
View file @
f9411cc4
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.4
0 2001/09/25 11:46:13
massiot Exp $
* $Id: common.h,v 1.4
1 2001/09/28 09:57:08
massiot Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -204,8 +204,13 @@ struct pgrm_descriptor_s;
/* Some systems have memalign() but no declaration for it */
void
*
memalign
(
size_t
align
,
size_t
size
);
#else
# ifdef HAVE_VALLOC
/* That's like using a hammer to kill a fly, but eh... */
# define memalign(align,size) valloc(size)
# else
/* Assume malloc alignment is sufficient */
# define memalign(align,size) malloc(size)
# endif
#endif
/* win32, cl and icl support */
...
...
include/defs.h.in
View file @
f9411cc4
...
...
@@ -58,6 +58,9 @@
/* Define if you have the usleep function. */
#undef HAVE_USLEEP
/* Define if you have the valloc function. */
#undef HAVE_VALLOC
/* Define if you have the vasprintf function. */
#undef HAVE_VASPRINTF
...
...
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