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