Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
69d7fdea
Commit
69d7fdea
authored
May 05, 2010
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"#if HAVE_FOO" -> "#ifdef HAVE_FOO"
This fixes some warnings.
parent
6a30fd81
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
bin/rootwrap.c
bin/rootwrap.c
+1
-1
modules/access/http.c
modules/access/http.c
+1
-1
src/misc/cpu.c
src/misc/cpu.c
+1
-1
src/misc/messages.c
src/misc/messages.c
+1
-1
No files found.
bin/rootwrap.c
View file @
69d7fdea
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#if HAVE_CONFIG_H
#if
def
HAVE_CONFIG_H
# include <config.h>
# include <config.h>
#endif
#endif
#define _XPG4_2
/* ancilliary data on Solaris */
#define _XPG4_2
/* ancilliary data on Solaris */
...
...
modules/access/http.c
View file @
69d7fdea
...
@@ -449,7 +449,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
...
@@ -449,7 +449,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
"in registry."
);
"in registry."
);
}
}
}
}
#elif
HAVE_GETENV
#elif
defined( HAVE_GETENV )
else
else
{
{
psz
=
getenv
(
"http_proxy"
);
psz
=
getenv
(
"http_proxy"
);
...
...
src/misc/cpu.c
View file @
69d7fdea
...
@@ -335,7 +335,7 @@ unsigned vlc_GetCPUCount(void)
...
@@ -335,7 +335,7 @@ unsigned vlc_GetCPUCount(void)
system_mask
>>=
1
;
system_mask
>>=
1
;
}
}
return
count
;
return
count
;
#elif
HAVE_SCHED_GETAFFINITY
#elif
defined(HAVE_SCHED_GETAFFINITY)
cpu_set_t
cpu
;
cpu_set_t
cpu
;
CPU_ZERO
(
&
cpu
);
CPU_ZERO
(
&
cpu
);
if
(
sched_getaffinity
(
0
,
sizeof
(
cpu
),
&
cpu
)
<
0
)
if
(
sched_getaffinity
(
0
,
sizeof
(
cpu
),
&
cpu
)
<
0
)
...
...
src/misc/messages.c
View file @
69d7fdea
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
#include <stdarg.h>
/* va_list for BSD */
#include <stdarg.h>
/* va_list for BSD */
#ifdef __APPLE__
#ifdef __APPLE__
# include <xlocale.h>
# include <xlocale.h>
#elif
HAVE_LOCALE_H
#elif
defined(HAVE_LOCALE_H)
# include <locale.h>
# include <locale.h>
#endif
#endif
#include <errno.h>
/* errno */
#include <errno.h>
/* errno */
...
...
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