VirtualBox

Changeset 35647 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Jan 20, 2011 11:35:55 AM (14 years ago)
Author:
vboxsync
Message:

Linux 2.6.38-rc1 autoconf.h mess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/iprt.h

    r29250 r35647  
    4040 && !defined(RT_NO_EXPORT_SYMBOL)
    4141# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
    42 # ifndef AUTOCONF_INCLUDED
    43 #  include <linux/autoconf.h>
     42# include <linux/version.h>
     43# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
     44#  include <generated/autoconf.h>
     45# else
     46#  ifndef AUTOCONF_INCLUDED
     47#   include <linux/autoconf.h>
     48#  endif
    4449# endif
    4550# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
    46 #  include <linux/version.h>
    4751#  define MODVERSIONS
    4852#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
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