summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2012-03-01 17:18:39 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2012-03-01 17:18:39 +0000
commit66d8438c3c3128f991f08bca2433ef615fe488b6 (patch)
tree3a4dd2593dbb1ff38617045ab057910c56cc7758 /shmem
parent0df817ce2fc801a334fc7e3d382b7a62df07a392 (diff)
downloadlibapr-66d8438c3c3128f991f08bca2433ef615fe488b6.tar.gz
Merge r1295535 from trunk:
Use _WIN64 instead of WIN64 (compiler define vs. SDK define) in .c/.h. WIN64 wasn't defined, resulting in crashes in httpd. PR: 49155 Submitted by: <anindyabaruah gmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1295684 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r--shmem/win32/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shmem/win32/shm.c b/shmem/win32/shm.c
index da736aa62..85926ab7e 100644
--- a/shmem/win32/shm.c
+++ b/shmem/win32/shm.c
@@ -82,7 +82,7 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
/* Compute the granualar multiple of the pagesize */
size = memblock * (1 + (reqsize - 1) / memblock);
sizelo = (DWORD)size;
-#ifdef WIN64
+#ifdef _WIN64
sizehi = (DWORD)(size >> 32);
#else
sizehi = 0;