Mercurial > emacs
changeset 70872:b57dbe9690a0
(Fx_server_version): Use gestaltSystemVersionMajor etc.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 24 May 2006 08:07:37 +0000 |
parents | 815f914dcf9b |
children | 523dd2f40cc1 |
files | src/macfns.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macfns.c Wed May 24 08:07:19 2006 +0000 +++ b/src/macfns.c Wed May 24 08:07:37 2006 +0000 @@ -3024,11 +3024,11 @@ { if (response >= 0x00001040) { - err = Gestalt ('sys1', &major); /* gestaltSystemVersionMajor */ + err = Gestalt (gestaltSystemVersionMajor, &major); if (err == noErr) - err = Gestalt ('sys2', &minor); /* gestaltSystemVersionMinor */ + err = Gestalt (gestaltSystemVersionMinor, &minor); if (err == noErr) - err = Gestalt ('sys3', &bugfix); /* gestaltSystemVersionBugFix */ + err = Gestalt (gestaltSystemVersionBugFix, &bugfix); } else {