# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1148458057 0 # Node ID b57dbe9690a0ee16540e3003dc48ee8f24c517aa # Parent 815f914dcf9baa248398b2fa05ef4f2ef2ecb124 (Fx_server_version): Use gestaltSystemVersionMajor etc. diff -r 815f914dcf9b -r b57dbe9690a0 src/macfns.c --- 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 {