VirtualBox

Changeset 35647 in vbox


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

Linux 2.6.38-rc1 autoconf.h mess

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/types.h

    r35584 r35647  
    102102#  define false linux_false
    103103#  define uintptr_t linux_uintptr_t
    104 #  ifndef AUTOCONF_INCLUDED
    105 #   include <linux/autoconf.h>
     104#  include <linux/version.h>
     105#  if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
     106#   include <generated/autoconf.h>
     107#  else
     108#   ifndef AUTOCONF_INCLUDED
     109#    include <linux/autoconf.h>
     110#   endif
    106111#  endif
    107112#  include <linux/types.h>
  • trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c

    r33754 r35647  
    5050 */
    5151
    52 #ifndef AUTOCONF_INCLUDED
    53 # include <linux/autoconf.h>
     52#include <linux/version.h>
     53#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
     54# include <generated/autoconf.h>
     55#else
     56# ifndef AUTOCONF_INCLUDED
     57#  include <linux/autoconf.h>
     58# endif
    5459#endif
    55 #include <linux/version.h>
    5660#include <linux/module.h>
    5761#include "version-generated.h"
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r35494 r35647  
    7676
    7777#elif defined(RT_OS_LINUX)
    78 #   ifndef AUTOCONF_INCLUDED
    79 #    include <linux/autoconf.h>
     78#   include <linux/version.h>
     79#   if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
     80#    include <generated/autoconf.h>
     81#   else
     82#    ifndef AUTOCONF_INCLUDED
     83#     include <linux/autoconf.h>
     84#    endif
    8085#   endif
    81 #   include <linux/version.h>
    8286#   if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
    8387#       define MODVERSIONS
  • 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.

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