sunrpc/rpc/types.h: fix OS X and FreeBSD build problems
authorJia Liu <proljc@gmail.com>
Fri, 6 Sep 2013 16:01:08 +0000 (00:01 +0800)
committerMike Frysinger <vapier@gentoo.org>
Wed, 11 Sep 2013 22:37:21 +0000 (18:37 -0400)
commitae7080d30c68cfa0c81ce3422dca948f64a94f50
tree038a6214100d271224a97fdd57932de222c71409
parent5905e7b3e29139dbef84c065ca39315485f497e1
sunrpc/rpc/types.h: fix OS X and FreeBSD build problems

When I build arm-linux-gcc on OS X, I find glibc will get a build error
in sunrpc/rpc/types.h, so I add __APPLE_CC__ to make OS X build OK.
For FreeBSD, Add __FreeBSD__ to make it build OK, too.

URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00155.html
URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00217.html
URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00240.html
Signed-off-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ChangeLog
sunrpc/rpc/types.h