--- /supported-platforms.mdwn 2008/12/03 07:24:19 1.14 +++ /supported-platforms.mdwn 2009/01/06 20:32:45 1.15 @@ -227,4 +227,29 @@ Some of the issues may apply from OS X 10.4 discussed above. -Currently has a bug with 16-byte stack alignment. \ No newline at end of file +Currently has a bug with 16-byte stack alignment. + +__FreeBSD 7__ + +You probably want to add something like this to sys/cdefs.h. + + --- cdefs.h.orig 2009-01-05 13:34:21.000000000 +0100 + +++ cdefs.h 2009-01-05 13:35:39.000000000 +0100 + @@ -221,6 +221,15 @@ + #define __aligned(x) __attribute__((__aligned__(x))) + #define __section(x) __attribute__((__section__(x))) + #endif + +#if defined(__PCC__) + +#define __dead2 __attribute__((__noreturn__)) + +#define __pure2 __attribute__((__const__)) + +#define __unused __attribute__((__unused__)) + +#define __used __attribute__((__used__)) + +#define __packed __attribute__((__packed__)) + +#define __aligned(x) __attribute__((__aligned__(x))) + +#define __section(x) __attribute__((__section__(x))) + +#endif + #endif + + #if __GNUC_PREREQ__(2, 96) + +This patch only works if you have pcc compiled with GCC_COMPAT (which is the default). Otherwise you want to use the _Pragmas() as shown in patches for other operating systems. \ No newline at end of file
Powered by rcshistory.cgi 0.3