mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 12:00:45 +00:00
add solaris special case
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39384 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31535ac6eb
commit
2031571d37
2 changed files with 5 additions and 2 deletions
|
@ -1183,7 +1183,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
non-standard f_basetype field, which provides the name of the
|
||||
underlying file system type.
|
||||
*/
|
||||
#if defined (__NetBSD__) && __NetBSD_Version__ >= 300000000
|
||||
#if (defined (__NetBSD__) && __NetBSD_Version__ >= 300000000) || (defined(__sun__) && defined(__svr4__))
|
||||
#define statfs statvfs
|
||||
#define f_flags f_flag
|
||||
#endif
|
||||
|
@ -1232,6 +1232,9 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
*fileSystemType = @"NFS";
|
||||
else
|
||||
*fileSystemType = @"Other";
|
||||
#elif defined(__sun__)
|
||||
*fileSystemType =
|
||||
[[NSString alloc] initWithCString: m.f_basetype encoding: enc];
|
||||
#else
|
||||
*fileSystemType =
|
||||
[[NSString alloc] initWithCString: m.f_fstypename encoding: enc];
|
||||
|
|
|
@ -26,7 +26,7 @@ ADDITIONAL_INCLUDE_DIRS += -I../Headers/Additions -I../Headers \
|
|||
-I../Source/$(GNUSTEP_TARGET_DIR)
|
||||
|
||||
# Additional LDFLAGS to pass to the linker
|
||||
# ADDITIONAL_LDFLAGS +=
|
||||
ADDITIONAL_LDFLAGS += -L/opt/csw/lib -R/opt/csw/lib -R/opt/csw/gcc4/lib
|
||||
|
||||
# Additional library directories the linker should search
|
||||
ADDITIONAL_LIB_DIRS += -L../Source/$(GNUSTEP_OBJ_DIR) -L../Model/$(GNUSTEP_OBJ_DIR)
|
||||
|
|
Loading…
Reference in a new issue