Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
39f1f652
Commit
39f1f652
authored
Nov 05, 2000
by
Andrew Innes
Browse files
(w32_build_number): New variable.
(cache_system_info): Set it.
parent
0ae88b4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/w32heap.c
src/w32heap.c
+5
-0
No files found.
src/w32heap.c
View file @
39f1f652
...
...
@@ -47,6 +47,7 @@ int etext;
/* The major and minor versions of NT. */
int
w32_major_version
;
int
w32_minor_version
;
int
w32_build_number
;
/* Distinguish between Windows NT and Windows 95. */
int
os_subtype
;
...
...
@@ -83,6 +84,10 @@ cache_system_info (void)
/* Cache os info. */
osinfo_cache
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFO
);
GetVersionEx
(
&
osinfo_cache
);
w32_build_number
=
osinfo_cache
.
dwBuildNumber
;
if
(
os_subtype
==
OS_WIN95
)
w32_build_number
&=
0xffff
;
}
/* Emulate getpagesize. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment