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
889aebe3
Commit
889aebe3
authored
Mar 29, 2010
by
Nicolas Chauvet
Committed by
Rémi Denis-Courmont
Mar 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozilla - Avoid usage of HAVE_NPFUNCTIONS_H
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
22d2ded4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
12 deletions
+9
-12
configure.ac
configure.ac
+0
-1
projects/mozilla/support/npmac.cpp
projects/mozilla/support/npmac.cpp
+3
-3
projects/mozilla/support/npunix.c
projects/mozilla/support/npunix.c
+3
-3
projects/mozilla/support/npwin.cpp
projects/mozilla/support/npwin.cpp
+3
-5
No files found.
configure.ac
View file @
889aebe3
...
...
@@ -4574,7 +4574,6 @@ then
AS_IF( [test $found = 1],[
CPPFLAGS="${CPPFLAGS_save} ${MOZILLA_CFLAGS}"
MOZILLA_REQUIRED_HEADERS=1
AC_CHECK_HEADERS([npfunctions.h])
AC_CHECK_HEADERS(npapi.h,,MOZILLA_REQUIRED_HEADERS=0)
AC_CHECK_HEADERS(npruntime.h,,MOZILLA_REQUIRED_HEADERS=0,
[#if HAVE_NPAPI_H
...
...
projects/mozilla/support/npmac.cpp
View file @
889aebe3
...
...
@@ -76,10 +76,10 @@
#undef XP_UNIX
#endif
#if
def HAVE_NPFUNCTIONS_H
#include "np
functions.h"
#if
(((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
#include "np
upp.h"
#else
#include "np
upp
.h"
#include "np
functions
.h"
#endif
#include "../vlcshell.h"
...
...
projects/mozilla/support/npunix.c
View file @
889aebe3
...
...
@@ -49,10 +49,10 @@
#define OJI 1
#include <npapi.h>
#if
def HAVE_NPFUNCTIONS_H
#include
<npfunctions.h>
#if
(((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
#include
"npupp.h"
#else
#include
<npupp.h>
#include
"npfunctions.h"
#endif
#include "../vlcshell.h"
...
...
projects/mozilla/support/npwin.cpp
View file @
889aebe3
...
...
@@ -37,12 +37,10 @@
#ifndef _NPAPI_H_
# include "npapi.h"
#endif
#if
def HAVE_NPFUNCTIONS_H
#
include "npfunctions.h"
#if
(((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
#
include "npupp.h"
#else
# ifndef _NPUPP_H_
# include "npupp.h"
# endif
#include "npfunctions.h"
#endif
#include "../vlcshell.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