summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_win32.h
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2011-03-10 12:18:27 -0800
committerEli Linden <eli@lindenlab.com>2011-03-10 12:18:27 -0800
commit70aff7fd157b1e2894a4d065caf9a63848d072b0 (patch)
treedee262d1b7ac3ef14eebeb71d55e9b0755209148 /indra/llvfs/lldir_win32.h
parent64e672d9d92d1b8f92e968b0164b2212a71120da (diff)
parent378585e7f089b62b7a0dd69adde48cd63fc7bacc (diff)
Merge
Diffstat (limited to 'indra/llvfs/lldir_win32.h')
-rw-r--r--indra/llvfs/lldir_win32.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llvfs/lldir_win32.h b/indra/llvfs/lldir_win32.h
index 4c932c932c..b170ebbcd7 100644
--- a/indra/llvfs/lldir_win32.h
+++ b/indra/llvfs/lldir_win32.h
@@ -24,6 +24,10 @@
* $/LicenseInfo$
*/
+#if !LL_WINDOWS
+#error This header must not be included when compiling for any target other than Windows. Consider including lldir.h instead.
+#endif // !LL_WINDOWS
+
#ifndef LL_LLDIR_WIN32_H
#define LL_LLDIR_WIN32_H
@@ -47,8 +51,8 @@ public:
/*virtual*/ std::string getLLPluginFilename(std::string base_name);
private:
- BOOL LLDir_Win32::getNextFileInDir(const llutf16string &dirname, const std::string &mask, std::string &fname);
-
+ BOOL getNextFileInDir(const llutf16string &dirname, const std::string &mask, std::string &fname);
+
void* mDirSearch_h;
llutf16string mCurrentDir;
};