1 #include "struct-1.h" 2 3 struct ChainSearchRecord { 4 int identity; 5 }; 6 typedef struct ChainSearchRecord ChainSearchRecord; foo(ChainSearchPtr s)7void foo (ChainSearchPtr s) 8 { 9 #if(__SIZEOF_INT__ >= 4) 10 s->identity = 0x6a73616d; 11 #else 12 s->identity = 0x616d; 13 #endif 14 } 15 16 17