summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llvfs/lldir_linux.h')
-rw-r--r--indra/llvfs/lldir_linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llvfs/lldir_linux.h b/indra/llvfs/lldir_linux.h
index 451e81ae93..c7cfe905f5 100644
--- a/indra/llvfs/lldir_linux.h
+++ b/indra/llvfs/lldir_linux.h
@@ -24,6 +24,10 @@
* $/LicenseInfo$
*/
+#if !LL_LINUX
+#error This header must not be included when compiling for any target other than Linux. Consider including lldir.h instead.
+#endif // !LL_LINUX
+
#ifndef LL_LLDIR_LINUX_H
#define LL_LLDIR_LINUX_H