#pragma pack(push) #pragma pack(1) typedef struct{ unsigned long ul32; unsigned char uc8; }TStructSample; #pragma pack(pop) 与 typedef struct{ #pragma pack(push) #pragma pack(1) unsigned long ul32; unsigned char uc8; #pragma pack(pop) }TStructSample; 这两种写法有区别么?
|