mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 15:52:00 -08:00
(Fx_server_version): Use gestaltSystemVersionMajor etc.
This commit is contained in:
parent
2015c1f03f
commit
a0293ec7a8
1 changed files with 3 additions and 3 deletions
|
|
@ -3024,11 +3024,11 @@ If omitted or nil, that stands for the selected frame's display. */)
|
|||
{
|
||||
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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue