diff options
| author | Erik Kundiman <erik@megapahit.org> | 2023-07-13 10:08:32 +0800 | 
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 16:39:05 +0800 | 
| commit | 90e240bc71bfc9bf8f80a4a0c49a2e048013cb24 (patch) | |
| tree | 79c1b22e4cb135fa8b908665f8235edf5e0d99dc /indra | |
| parent | 01fdae6fad1391ea7ae4778eb00570eb789b8363 (diff) | |
FreeBSD gets what Darwin & Linux do on dir pickers
Though without this, the viewer had still successfully built, and I
didn't experience any run-time problem yet. This commit is to anticipate
any directory picker related problem later, cause it seems very likely
that this is needed.
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/lldirpicker.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/lldirpicker.h | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/indra/newview/lldirpicker.cpp b/indra/newview/lldirpicker.cpp index 01790ad19e..f2a027f174 100644 --- a/indra/newview/lldirpicker.cpp +++ b/indra/newview/lldirpicker.cpp @@ -37,7 +37,7 @@  #include "llviewercontrol.h"  #include "llwin32headerslean.h" -#if LL_LINUX || LL_DARWIN +#if LL_LINUX || LL_DARWIN || LL_FREEBSD  # include "llfilepicker.h"  #endif @@ -187,7 +187,7 @@ std::string LLDirPicker::getDirName()  	return mFilePicker->getFirstFile();  } -#elif LL_LINUX +#elif LL_LINUX || LL_FREEBSD  LLDirPicker::LLDirPicker() :  	mFileName(NULL), diff --git a/indra/newview/lldirpicker.h b/indra/newview/lldirpicker.h index 52febe4523..be37e8f369 100644 --- a/indra/newview/lldirpicker.h +++ b/indra/newview/lldirpicker.h @@ -78,7 +78,7 @@ private:  	void buildDirname( void );  	bool check_local_file_access_enabled(); -#if LL_LINUX || LL_DARWIN +#if LL_LINUX || LL_DARWIN || LL_FREEBSD  	// On Linux we just implement LLDirPicker on top of LLFilePicker  	LLFilePicker *mFilePicker;  #endif | 
