VirtualBox

Changeset 9335 in vbox


Ignore:
Timestamp:
Jun 2, 2008 11:20:15 PM (16 years ago)
Author:
vboxsync
Message:

Another UINT32_C() case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r8766 r9335  
    2020 */
    2121
     22#define __STDC_LIMIT_MACROS
     23#define __STDC_CONSTANT_MACROS
     24
    2225#ifdef RT_OS_LINUX
    23 #include <sys/types.h>
    24 #include <sys/stat.h>
    25 #include <unistd.h>
    26 #include <sys/ioctl.h>
    27 #include <fcntl.h>
    28 #include <mntent.h>
     26# include <sys/types.h>
     27# include <sys/stat.h>
     28# include <unistd.h>
     29# include <sys/ioctl.h>
     30# include <fcntl.h>
     31# include <mntent.h>
    2932/* bird: This is a hack to work around conflicts between these linux kernel headers
    3033 *       and the GLIBC tcpip headers. They have different declarations of the 4
    3134 *       standard byte order functions. */
    32 #define _LINUX_BYTEORDER_GENERIC_H
    33 #include <linux/cdrom.h>
    34 #ifdef VBOX_USE_LIBHAL
     35# define _LINUX_BYTEORDER_GENERIC_H
     36# include <linux/cdrom.h>
     37# ifdef VBOX_USE_LIBHAL
    3538// # include <libhal.h>
    3639// /* These are defined by libhal.h and by VBox header files. */
    3740// # undef TRUE
    3841// # undef FALSE
    39 #include "vbox-libhal.h"
    40 #endif
    41 #include <errno.h>
     42#  include "vbox-libhal.h"
     43# endif
     44# include <errno.h>
    4245#endif /* RT_OS_LINUX */
    4346
     
    6265
    6366#ifdef RT_OS_WINDOWS
    64 #define _WIN32_DCOM
    65 #include <windows.h>
    66 #include <shellapi.h>
    67 #define INITGUID
    68 #include <guiddef.h>
    69 #include <devguid.h>
    70 #include <objbase.h>
    71 #include <setupapi.h>
    72 #include <shlobj.h>
    73 #include <cfgmgr32.h>
     67# define _WIN32_DCOM
     68# include <windows.h>
     69# include <shellapi.h>
     70# define INITGUID
     71# include <guiddef.h>
     72# include <devguid.h>
     73# include <objbase.h>
     74# include <setupapi.h>
     75# include <shlobj.h>
     76# include <cfgmgr32.h>
    7477#endif /* RT_OS_WINDOWS */
    7578
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