mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
On OpenBSD, use FILE_MAP_OPTIMIZED.
This has the effect of not performing a tt call each time in ResolveLocalPathName() if we're on the local host anyway. Drastically reduces dtfile startup time.
This commit is contained in:
parent
5b9d3fc5ec
commit
b64f79b1b8
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
|
||||||
EXTRA_DEFINES = -D_TOOLTALK
|
EXTRA_DEFINES = -D_TOOLTALK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef OpenBSDArchitecture
|
||||||
|
EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (SunArchitecture)
|
#if defined (SunArchitecture)
|
||||||
EXTRA_CCOPTIONS = -xF
|
EXTRA_CCOPTIONS = -xF
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue