Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
384e686
)
__pragma keyword is only supported by recent Microsoft compilers
author
dch
<david.hotham@blueyonder.co.uk>
Sun, 7 Apr 2013 14:28:05 +0000
(15:28 +0100)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Mon, 8 Apr 2013 07:56:13 +0000
(10:56 +0300)
pb.h
patch
|
blob
|
history
diff --git
a/pb.h
b/pb.h
index
61649e9
..
4ce58ac
100644
(file)
--- a/
pb.h
+++ b/
pb.h
@@
-30,7
+30,7
@@
# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)")
# define PB_PACKED_STRUCT_END _Pragma("pack(pop)")
# define pb_packed
-#elif defined(_MSC_VER)
+#elif defined(_MSC_VER)
&& (_MSC_VER >= 1500)
/* For Microsoft Visual C++ */
# define PB_PACKED_STRUCT_START __pragma(pack(push, 1))
# define PB_PACKED_STRUCT_END __pragma(pack(pop))