Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
39243779
Commit
39243779
authored
Jul 25, 2017
by
Segev Finer
Committed by
Victor Stinner
Jul 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-31018: Switch to #pragma pack from __declspec(align) (#2848)
parent
b4c52966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Modules/_tracemalloc.c
Modules/_tracemalloc.c
+4
-1
No files found.
Modules/_tracemalloc.c
View file @
39243779
...
...
@@ -83,7 +83,7 @@ typedef struct
#ifdef __GNUC__
__attribute__
((
packed
))
#elif defined(_MSC_VER)
_declspec
(
align
(
4
)
)
#pragma pack(push, 4
)
#endif
{
/* filename cannot be NULL: "<unknown>" is used if the Python frame
...
...
@@ -91,6 +91,9 @@ _declspec(align(4))
PyObject
*
filename
;
unsigned
int
lineno
;
}
frame_t
;
#ifdef _MSC_VER
#pragma pack(pop)
#endif
typedef
struct
{
...
...
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