Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0402d57e
Commit
0402d57e
authored
Apr 24, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mozilla: fixes for Win32 using the new np headers
parent
9668d7a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
projects/mozilla/support/npwin.cpp
projects/mozilla/support/npwin.cpp
+2
-0
projects/mozilla/vlcplugin.h
projects/mozilla/vlcplugin.h
+7
-6
No files found.
projects/mozilla/support/npwin.cpp
View file @
0402d57e
...
...
@@ -30,6 +30,8 @@
//#define OJI 1
#include "../vlcplugin.h"
#ifndef _NPAPI_H_
# include "npapi.h"
#endif
...
...
projects/mozilla/vlcplugin.h
View file @
0402d57e
...
...
@@ -41,11 +41,6 @@
#define MOZ_X11 1
#endif
#include <npapi.h>
#include <vector>
#include "control/nporuntime.h"
#if !defined(XP_MACOSX) && !defined(XP_UNIX) && !defined(XP_WIN)
#define XP_UNIX 1
#elif defined(XP_MACOSX)
...
...
@@ -54,8 +49,8 @@
#ifdef XP_WIN
/* Windows stuff */
# include <winbase.h>
# include <windows.h>
# include <winbase.h>
#endif
#ifdef XP_MACOSX
...
...
@@ -83,6 +78,12 @@
# define __MIN(a, b) ( ((a) < (b)) ? (a) : (b) )
#endif
#include <npapi.h>
#include <vector>
#include "control/nporuntime.h"
typedef
struct
{
#if defined(XP_UNIX)
pthread_mutex_t
mutex
;
...
...
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