Mercurial > dwindows
changeset 1301:7527fb644bc0
Only use default directory and filename options for Mac 10.6 and higher.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 03 Nov 2011 01:19:17 +0000 |
parents | 9c8de9cccc07 |
children | 5fbf384780d1 |
files | mac/dw.m |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Tue Nov 01 21:57:19 2011 +0000 +++ b/mac/dw.m Thu Nov 03 01:19:17 2011 +0000 @@ -3129,8 +3129,10 @@ char temp[PATH_MAX+1]; char *file = NULL, *path = NULL; - /* Figure out path information */ - if(defpath) + /* Figure out path information... + * These functions are only support in Snow Leopard and later... + */ + if(defpath && DWOSMinor > 5) { struct stat buf;