1
0
Fork 0
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:
Pascal Stumpf 2012-11-19 16:22:47 +01:00 committed by Jon Trulson
parent 5b9d3fc5ec
commit b64f79b1b8

View file

@ -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