VirtualBox

Ignore:
Timestamp:
Jul 6, 2009 6:32:32 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49603
Message:

the-linux-kernel.h: fixed PAGE_SIZE warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r15851 r21266  
    266266#endif
    267267
    268 #ifndef PAGE_OFFSET_MASK
    269 # define PAGE_OFFSET_MASK (PAGE_SIZE - 1)
    270 #endif
    271 
    272268/** @def ONE_MSEC_IN_JIFFIES
    273269 * The number of jiffies that make up 1 millisecond. Must be at least 1! */
     
    305301#endif
    306302
    307 #endif
    308 
     303/*
     304 * There are some conflicting defines in iprt/param.h, sort them out here.
     305 */
     306#ifndef ___iprt_param_h
     307# undef PAGE_SIZE
     308# undef PAGE_OFFSET_MASK
     309# include <iprt/param.h>
     310#endif
     311
     312#endif
     313
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette