Hello, Porting some C-headers. Ran, into a declaration:
#define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) _alignof_ seems to be a compiler attribute https://gcc.gnu.org/onlinedocs/gcc/Alignment.html Is there anything similar available fpc? Delphi doesn't seem to have any http://stackoverflow.com/questions/30454118/how-to-translate-alignof-to-delphi GNU Pascal seems to have. http://www.gnu-pascal.de/gpc/AlignOf.html thanks, Dmitry
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal