Author: benny Date: 2007-02-12 17:51:57 +0000 (Mon, 12 Feb 2007) New Revision: 24956
Modified: thunar/trunk/ChangeLog thunar/trunk/thunar-vfs/thunar-vfs-path-private.h Log: 2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]> * thunar-vfs/thunar-vfs-path-private.h: Fix compilation with the Sun Studio 11 compiler based on patch from William Bonnet <[EMAIL PROTECTED]>. Bug #2899. Modified: thunar/trunk/ChangeLog =================================================================== --- thunar/trunk/ChangeLog 2007-02-12 17:43:43 UTC (rev 24955) +++ thunar/trunk/ChangeLog 2007-02-12 17:51:57 UTC (rev 24956) @@ -1,5 +1,11 @@ 2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]> + * thunar-vfs/thunar-vfs-path-private.h: Fix compilation with the + Sun Studio 11 compiler based on patch from William Bonnet + <[EMAIL PROTECTED]>. Bug #2899. + +2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]> + * thunar-vfs/thunar-vfs-thumb-jpeg.c: Fix compilation with the Sun Studio 11 compiler based on patch from William Bonnet <[EMAIL PROTECTED]>. Bug #2900. Modified: thunar/trunk/thunar-vfs/thunar-vfs-path-private.h =================================================================== --- thunar/trunk/thunar-vfs/thunar-vfs-path-private.h 2007-02-12 17:43:43 UTC (rev 24955) +++ thunar/trunk/thunar-vfs/thunar-vfs-path-private.h 2007-02-12 17:51:57 UTC (rev 24956) @@ -30,12 +30,16 @@ G_BEGIN_DECLS; /* Support macros for compilers that don't support proper inlining */ +#if !defined(G_CAN_INLINE) && !defined(__THUNAR_VFS_PATH_C__) && !defined(__THUNAR_VFS_INFO_C__) + #define thunar_vfs_path_ref(path) (exo_atomic_inc (&(THUNAR_VFS_PATH ((path))->ref_count)), path) #define thunar_vfs_path_is_root(path) (THUNAR_VFS_PATH ((path))->parent == NULL) #define thunar_vfs_path_get_name(path) (((const gchar *) path) + sizeof (ThunarVfsPath)) #define thunar_vfs_path_get_parent(path) (THUNAR_VFS_PATH ((path))->parent) #define thunar_vfs_path_get_scheme(path) (THUNAR_VFS_PATH ((path))->ref_count & THUNAR_VFS_PATH_SCHEME_MASK) +#endif /* !defined(G_CAN_INLINE) && !defined(__THUNAR_VFS_PATH_C__) && !defined(__THUNAR_VFS_INFO_C__) */ + /* global shared variables */ extern ThunarVfsPath *_thunar_vfs_path_trash_root G_GNUC_INTERNAL; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits