changeset 80603:ab362d6a1530

(Fx_server_version): Don't use gestaltSystemVersionMajor, gestaltSystemVersionMinor, or gestaltSystemVersionBugFix.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 11 Jul 2008 08:53:01 +0000
parents 1310a26c647b
children 234fcb1810c9
files src/macfns.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Fri Jul 11 08:52:53 2008 +0000
+++ b/src/macfns.c	Fri Jul 11 08:53:01 2008 +0000
@@ -2947,11 +2947,11 @@
     {
       if (response >= 0x00001040)
 	{
-	  err = Gestalt (gestaltSystemVersionMajor, &major);
+	  err = Gestalt ('sys1', &major);
 	  if (err == noErr)
-	    err = Gestalt (gestaltSystemVersionMinor, &minor);
+	    err = Gestalt ('sys2', &minor);
 	  if (err == noErr)
-	    err = Gestalt (gestaltSystemVersionBugFix, &bugfix);
+	    err = Gestalt ('sys3', &bugfix);
 	}
       else
 	{