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
5399208e
Commit
5399208e
authored
Sep 23, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: fix glew build on win64
parent
be1a4a78
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
contrib/src/glew/win32.patch
contrib/src/glew/win32.patch
+12
-0
extras/contrib/src/Patches/glew-win32.patch
extras/contrib/src/Patches/glew-win32.patch
+12
-0
No files found.
contrib/src/glew/win32.patch
View file @
5399208e
...
@@ -75,3 +75,15 @@
...
@@ -75,3 +75,15 @@
LDFLAGS.GL = -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.GL = -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.EXTRA = -L/mingw/lib
LDFLAGS.EXTRA = -L/mingw/lib
WARN = -Wall -W
WARN = -Wall -W
diff -ur glew.orig//include/GL/glew.h glew/include/GL/glew.h
--- glew.orig//include/GL/glew.h 2011-09-23 01:38:28.524786958 -0400
+++ glew/include/GL/glew.h 2011-09-23 01:45:16.405385194 -0400
@@ -150,7 +150,7 @@
#endif
#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
# ifdef _WIN64
-typedef __int64 ptrdiff_t;
+#include <stdint.h>
# else
typedef _W64 int ptrdiff_t;
# endif
extras/contrib/src/Patches/glew-win32.patch
View file @
5399208e
...
@@ -75,3 +75,15 @@
...
@@ -75,3 +75,15 @@
LDFLAGS.GL = -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.GL = -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.EXTRA = -L/mingw/lib
LDFLAGS.EXTRA = -L/mingw/lib
WARN = -Wall -W
WARN = -Wall -W
diff -ur glew.orig//include/GL/glew.h glew/include/GL/glew.h
--- glew.orig//include/GL/glew.h 2011-09-23 01:38:28.524786958 -0400
+++ glew/include/GL/glew.h 2011-09-23 01:45:16.405385194 -0400
@@ -150,7 +150,7 @@
#endif
#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
# ifdef _WIN64
-typedef __int64 ptrdiff_t;
+#include <stdint.h>
# else
typedef _W64 int ptrdiff_t;
# endif
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