summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_solaris.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-03-09 21:17:29 -0800
committerMerov Linden <merov@lindenlab.com>2011-03-09 21:17:29 -0800
commit18a66fb7618c80108d224c9b1c3ff14cc5f3a87f (patch)
tree6ff3da645b7d076f4dee2538c6d596e681c90a90 /indra/llvfs/lldir_solaris.h
parent7f42c02cad9dbd068bc49bed4b6cd18fd8fff606 (diff)
parent0c02401498521f87d38778df0e795960aa5445e1 (diff)
Pull from viewer-development
Diffstat (limited to 'indra/llvfs/lldir_solaris.h')
-rw-r--r--indra/llvfs/lldir_solaris.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llvfs/lldir_solaris.h b/indra/llvfs/lldir_solaris.h
index 4a1794f539..70fac6f818 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
@@ -40,7 +44,7 @@ public:
/*virtual*/ void initAppDirs(const std::string &app_name,
const std::string& app_read_only_data_dir);
-public:
+
virtual std::string getCurPath();
virtual U32 countFilesInDir(const std::string &dirname, const std::string &mask);
virtual BOOL getNextFileInDir(const std::string &dirname, const std::string &mask, std::string &fname);
@@ -50,7 +54,7 @@ private:
DIR *mDirp;
int mCurrentDirIndex;
int mCurrentDirCount;
- std::string mCurrentDir;
+ std::string mCurrentDir;
};
#endif // LL_LLDIR_SOLARIS_H