summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-01-02 00:23:00 +0000
committerkientzle <kientzle@FreeBSD.org>2008-01-02 00:23:00 +0000
commit4e518cef81fe30b362d6c9c3863ba5e3ad42d5fb (patch)
treec3047e80047ea6442cdc119e782ce4b6872569e4 /usr.bin/tar
parent9f949d65f6dd91c623a8e3fa4d6a34c41577f5eb (diff)
downloadFreeBSD-src-4e518cef81fe30b362d6c9c3863ba5e3ad42d5fb.zip
FreeBSD-src-4e518cef81fe30b362d6c9c3863ba5e3ad42d5fb.tar.gz
Include a suitable stub definition of __FBSDID() for non-FreeBSD platforms.
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/bsdtar_platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar_platform.h b/usr.bin/tar/bsdtar_platform.h
index a917978..52d160e 100644
--- a/usr.bin/tar/bsdtar_platform.h
+++ b/usr.bin/tar/bsdtar_platform.h
@@ -49,7 +49,8 @@
#ifdef __FreeBSD__
#include <sys/cdefs.h> /* For __FBSDID */
#else
-#define __FBSDID(a) /* null */
+/* Just leaving this macro replacement empty leads to a dangling semicolon. */
+#define __FBSDID(a) struct _undefined_hack
#endif
#ifdef HAVE_LIBARCHIVE
OpenPOWER on IntegriCloud