summaryrefslogtreecommitdiff
path: root/src/w32heap.c
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2012-10-08 04:53:18 -0800
committerDaniel Colascione <dancol@dancol.org>2012-10-08 04:53:18 -0800
commit501199a3dbccc83f91a561c6664ae4c1d3dde20a (patch)
treec9b24607e5e44b61fad483b10a0c77862d4d2661 /src/w32heap.c
parentc54ebba4e076caeb6105c6bb682252b139a169fa (diff)
downloademacs-501199a3dbccc83f91a561c6664ae4c1d3dde20a.tar.gz
Code cleanup for cygw32
Diffstat (limited to 'src/w32heap.c')
-rw-r--r--src/w32heap.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/w32heap.c b/src/w32heap.c
index 0ff473fb0a8..311e1064434 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -23,26 +23,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <stdio.h>
+#include "w32common.h"
#include "w32heap.h"
#include "lisp.h" /* for VALMASK */
#define RVA_TO_PTR(rva) ((unsigned char *)((DWORD_PTR)(rva) + (DWORD_PTR)GetModuleHandle (NULL)))
-/* This gives us the page size and the size of the allocation unit on NT. */
-SYSTEM_INFO sysinfo_cache;
-
-/* This gives us version, build, and platform identification. */
-extern unsigned long syspage_mask;
-OSVERSIONINFO osinfo_cache;
-
-/* 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;
-
/* Emulate getpagesize. */
int
getpagesize (void)