2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / lib / ntdll / rtl / env.c
index cc78b68..ffc982f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: env.c,v 1.17 2002/09/08 10:23:05 chorns Exp $
+/* $Id: env.c,v 1.18 2002/10/01 19:27:20 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -29,7 +29,7 @@ RtlCreateEnvironment(BOOLEAN Inherit,
   MEMORY_BASIC_INFORMATION MemInfo;
   PVOID EnvPtr = NULL;
   NTSTATUS Status = STATUS_SUCCESS;
-  ULONG RegionSize = PAGESIZE;
+  ULONG RegionSize = PAGE_SIZE;
 
   if (Inherit == TRUE)
     {
@@ -298,7 +298,7 @@ found:
          /* enlarge environment size */
          /* check the size of available memory */
          new_size += (env_len - hole_len) * sizeof(WCHAR);
-         new_size = ROUNDUP(new_size, PAGESIZE);
+         new_size = ROUNDUP(new_size, PAGE_SIZE);
          mbi.RegionSize = 0;
          DPRINT("new_size %lu\n", new_size);