VirtualBox

Changeset 2906

Show
Ignore:
Timestamp:
05/29/07 12:56:39 (2 years ago)
Author:
vboxsync
Message:

Changed VALID_PTR check for Win64.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/iprt/cdefs.h

    r2660 r2906  
    11181118 * @param   ptr 
    11191119 */ 
    1120 #if defined(__AMD64__) 
     1120#if defined(__WIN64__) 
     1121# define VALID_PTR(ptr)     ( (uintptr_t)(ptr) + 0x1000U >= 0x2000U ) 
     1122#elif defined(__AMD64__) 
    11211123# ifdef IN_RING3 
    11221124#  if defined(__DARWIN__) /* first 4GB is reserved for legacy kernel. */ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy