VirtualBox

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


Ignore:
Timestamp:
Jan 20, 2011 11:35:55 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69559
Message:

Linux 2.6.38-rc1 autoconf.h mess

Location:
trunk/src/VBox/Runtime
Files:
2 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)
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r33441 r35647  
    3535#define bool linux_bool
    3636
    37 #ifndef AUTOCONF_INCLUDED
    38 # include <linux/autoconf.h>
    39 #endif
    4037#include <linux/version.h>
     38#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
     39# include <generated/autoconf.h>
     40#else
     41# ifndef AUTOCONF_INCLUDED
     42#  include <linux/autoconf.h>
     43# endif
     44#endif
    4145
    4246/* We only support 2.4 and 2.6 series kernels */
Note: See TracChangeset for help on using the changeset viewer.

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