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
8cc8898b
Commit
8cc8898b
authored
Nov 29, 2013
by
Felix Abecassis
Committed by
Jean-Baptiste Kempf
Nov 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement ATTR_PACKED for MSVC.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
02f2f5f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/vlc_codecs.h
include/vlc_codecs.h
+2
-2
No files found.
include/vlc_codecs.h
View file @
8cc8898b
...
...
@@ -47,7 +47,7 @@ typedef GUID guid_t;
#ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__))
#elif defined(__SUNPRO_C)
#elif defined(__SUNPRO_C)
|| defined(_MSC_VER)
# pragma pack(1)
# define ATTR_PACKED
#elif defined(__APPLE__)
...
...
@@ -210,7 +210,7 @@ ATTR_PACKED
}
VIDEOINFO
;
#endif
#if defined(__SUNPRO_C)
#if defined(__SUNPRO_C)
|| defined(_MSC_VER)
# pragma pack()
#elif defined(__APPLE__) && !HAVE_ATTRIBUTE_PACKED
# pragma pack(pop)
...
...
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