Am Donnerstag, 10.07.03 um 01:43 Uhr schrieb David Chatterton: Most Darwin structure appear not to use 64bit values, size_t is 32bits for example. How about padding with dummy variables? For sizeof(size_t) == 4: typedef struct { size_t mysize; char dummy[4]; } ... For sizeof(size_t) == 8: typedef struct { size_t mysize; } ... Maybe you even can automate this with preprocessor directives. HTH, Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Markus Hitter