Date: Thu, 5 May 2011 02:35:25 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r221476 - head/sys/sys Message-ID: <201105050235.p452ZP4n077814@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: obrien Date: Thu May 5 02:35:25 2011 New Revision: 221476 URL: http://svn.freebsd.org/changeset/base/221476 Log: Guard ptrdiff_t. Modified: head/sys/sys/stddef.h Modified: head/sys/sys/stddef.h ============================================================================== --- head/sys/sys/stddef.h Thu May 5 02:35:11 2011 (r221475) +++ head/sys/sys/stddef.h Thu May 5 02:35:25 2011 (r221476) @@ -33,7 +33,10 @@ #include <sys/_null.h> #include <machine/_types.h> +#ifndef _PTRDIFF_T_DECLARED typedef __ptrdiff_t ptrdiff_t; +#define _PTRDIFF_T_DECLARED +#endif #define offsetof(type, field) __offsetof(type, field)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105050235.p452ZP4n077814>