Hi Michael, Leibowitz, Michael wrote:
Is there a portable pack directive that is recommended? Gcc and the Windows compilers both support #pragma pack (solaris??). Is there a portable macro for this sort of thing? I need to pack a struct to four byte alignment. Any help appreciated.
Solaris compiler support #pragma pack(n) which works similar to the gcc #pragma. The documentation is here:
http://docs.sun.com/source/817-5070/Pragmas_App.html, B.2.12 Heiner -- Jens-Heiner Rechtien [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]