PCI module work properly only if PCI configuration structures are packed. This commit adds "#pragma pack" preprocessor directive to make it possible in wider range of compilers. It should be safe even if not supported since unknown "pragmas" should be ignored by compilers.
Details
Details
Diff Detail
Diff Detail
- Repository
- R102 KInfoCenter
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Would it be possible to commit the whitespace changes separately? They hide all the actual changes.
Comment Actions
Ufff, I can try. Do you want new string names diff separated from "#pragrma pack" diff?
However, the only one important change is this two lines:
#pragma pack(push, 1)
#pragma pack(pop)