summaryrefslogtreecommitdiff
path: root/libarchive/archive_endian.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-08-11 21:45:49 -0400
committerTim Kientzle <kientzle@gmail.com>2009-08-11 21:45:49 -0400
commit8eda49ae240e64721cb37c909562e2ca9a94cf73 (patch)
tree462ede58fadb9500894a02d774513985bdf80ca7 /libarchive/archive_endian.h
parent14a262a87656f87cfb4530f3e261c2f1ea7ec010 (diff)
downloadlibarchive-8eda49ae240e64721cb37c909562e2ca9a94cf73.tar.gz
Encourage people not to use libarchive internal headers.
SVN-Revision: 1363
Diffstat (limited to 'libarchive/archive_endian.h')
-rw-r--r--libarchive/archive_endian.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libarchive/archive_endian.h b/libarchive/archive_endian.h
index 3c62fbf5..cc0266e2 100644
--- a/libarchive/archive_endian.h
+++ b/libarchive/archive_endian.h
@@ -28,6 +28,10 @@
* Borrowed from FreeBSD's <sys/endian.h>
*/
+#ifndef __LIBARCHIVE_BUILD
+#error This header is only to be used internally to libarchive.
+#endif
+
/* Note: This is a purely internal header! */
/* Do not use this outside of libarchive internal code! */