Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mangal Kushwah
VLC
Commits
084beb15
Commit
084beb15
authored
13 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
compat: always compile getdelim on Darwin
same rationale as in
679830ea
parent
c397950e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+3
-0
3 additions, 0 deletions
configure.ac
include/vlc_fixups.h
+4
-3
4 additions, 3 deletions
include/vlc_fixups.h
with
7 additions
and
3 deletions
configure.ac
+
3
−
0
View file @
084beb15
...
...
@@ -152,6 +152,9 @@ case "${host_os}" in
VLC_ADD_CFLAGS([motion],[-fconstant-cfstrings])
VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation])
dnl Allow binaries created on Lion to run on earlier releases
AC_LIBOBJ([getdelim])
dnl
dnl Check for Mac OS X SDK settings
dnl
...
...
This diff is collapsed.
Click to expand it.
include/vlc_fixups.h
+
4
−
3
View file @
084beb15
...
...
@@ -44,7 +44,8 @@ typedef struct
#endif
#if !defined (HAVE_REWIND) || \
!defined (HAVE_GETDELIM)
!defined (HAVE_GETDELIM) || \
defined (__APPLE__)
# include <stdio.h>
/* FILE */
#endif
...
...
@@ -58,7 +59,7 @@ typedef struct
# include <stdarg.h>
/* va_list */
#endif
#if !defined (HAVE_GETDELIM) || \
#if !defined (HAVE_GETDELIM) ||
defined (__APPLE__) ||
\
!defined (HAVE_GETPID) || \
!defined (HAVE_SWAB)
# include <sys/types.h>
/* ssize_t, pid_t */
...
...
@@ -92,7 +93,7 @@ int putchar_unlocked (int);
* was added lately to Darwin 11 (OS X Lion) only.
* However, we want binaries created on this OS to be executable on previous
* releases. */
#if !defined HAVE_GETDELIM
|| defined(__APPLE__)
#if !defined HAVE_GETDELIM
ssize_t
getdelim
(
char
**
,
size_t
*
,
int
,
FILE
*
);
ssize_t
getline
(
char
**
,
size_t
*
,
FILE
*
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment