summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_mac.h
diff options
context:
space:
mode:
authorDave SIMmONs <simon@lindenlab.com>2011-03-07 09:35:57 -0800
committerDave SIMmONs <simon@lindenlab.com>2011-03-07 09:35:57 -0800
commitfa4986e9781651626a6a467057509d653d98cf40 (patch)
tree8ac6428b1aa0ad79e3ea52c9734d8202f169988b /indra/llvfs/lldir_mac.h
parentd413799644b8e7fa943fa86c7798634a28ce335d (diff)
parent5cb2d63979f0ff72cb9351dc9aa070b1990a1f9c (diff)
Merge latest from lindenlab/viewer-development
Diffstat (limited to 'indra/llvfs/lldir_mac.h')
-rw-r--r--indra/llvfs/lldir_mac.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llvfs/lldir_mac.h b/indra/llvfs/lldir_mac.h
index 4eac3c3ae6..b456d3afca 100644
--- a/indra/llvfs/lldir_mac.h
+++ b/indra/llvfs/lldir_mac.h
@@ -24,6 +24,10 @@
* $/LicenseInfo$
*/
+#if !LL_DARWIN
+#error This header must not be included when compiling for any target other than Mac OS. Consider including lldir.h instead.
+#endif // !LL_DARWIN
+
#ifndef LL_LLDIR_MAC_H
#define LL_LLDIR_MAC_H
@@ -39,7 +43,7 @@ public:
/*virtual*/ void initAppDirs(const std::string &app_name,
const std::string& app_read_only_data_dir);
-public:
+
virtual S32 deleteFilesInDir(const std::string &dirname, const std::string &mask);
virtual std::string getCurPath();
virtual U32 countFilesInDir(const std::string &dirname, const std::string &mask);