Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
10466626
Commit
10466626
authored
Jan 13, 2015
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1301 from rodgert/master
Make alignment compiler directive
parents
b6b990f5
413f835b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
command.hpp
src/command.hpp
+8
-5
No files found.
src/command.hpp
View file @
10466626
...
...
@@ -33,7 +33,11 @@ namespace zmq
// This structure defines the commands that can be sent between threads.
#ifdef _MSC_VER
__declspec
(
align
(
64
))
struct
command_t
#else
struct
command_t
#endif
{
// Object to process the command.
zmq
::
object_t
*
destination
;
...
...
@@ -147,12 +151,11 @@ namespace zmq
}
done
;
}
args
;
enum
{
pad_size
=
64
-
(
sizeof
(
zmq
::
object_t
*
)
+
sizeof
(
args_t
)
+
sizeof
(
type_t
))
};
unsigned
char
unused
[
pad_size
];
#ifdef _MSC_VER
};
#else
}
__attribute__
((
aligned
(
64
)));
#endif
}
#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