VirtualBox

Changeset 62680 in vbox


Ignore:
Timestamp:
Jul 29, 2016 12:52:46 PM (8 years ago)
Author:
vboxsync
Message:

Use the iprt/win/windows.h wrapper for Windows.h

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/glext.h

    r4172 r62680  
    3131#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    3232#define WIN32_LEAN_AND_MEAN 1
    33 #include <windows.h>
     33#include <iprt/win/windows.h>
    3434#endif
    3535
  • trunk/include/VBox/HostServices/glxext.h

    r4172 r62680  
    3131#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    3232#define WIN32_LEAN_AND_MEAN 1
    33 #include <windows.h>
     33#include <iprt/win/windows.h>
    3434#endif
    3535
  • trunk/include/VBox/HostServices/wglext.h

    r4172 r62680  
    3131#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    3232#define WIN32_LEAN_AND_MEAN 1
    33 #include <windows.h>
     33#include <iprt/win/windows.h>
    3434#endif
    3535
  • trunk/include/VBox/VBoxDrvCfg-win.h

    r62476 r62680  
    2828#define ___VBox_VBoxDrvCfg_win_h
    2929
    30 #include <Windows.h>
     30#include <iprt/win/windows.h>
    3131#include <VBox/cdefs.h>
    3232
  • trunk/include/VBox/VBoxNetCfg-win.h

    r62476 r62680  
    3737#define VBOXNETCFG_DELAYEDRENAME
    3838
    39 #include <winsock2.h>
    40 #include <Windows.h>
     39#include <iprt/win/winsock2.h>
     40#include <iprt/win/windows.h>
    4141#include <Netcfgn.h>
    4242#include <Setupapi.h>
  • trunk/include/VBox/com/NativeEventQueue.h

    r62476 r62680  
    2828
    2929#ifndef VBOX_WITH_XPCOM
    30 # include <Windows.h>
     30# include <iprt/win/windows.h>
    3131#else
    3232# include <nsEventQueueUtils.h>
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r62492 r62680  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox HGCM connection
     
    1716 */
    1817#ifdef RT_OS_WINDOWS
    19     #include <windows.h>
    20     #include <ddraw.h>
     18# include <iprt/win/windows.h>
     19# include <ddraw.h>
    2120#else
    22     #include <sys/ioctl.h>
    23     #include <errno.h>
    24     #include <fcntl.h>
    25     #include <string.h>
    26     #include <unistd.h>
     21# include <sys/ioctl.h>
     22# include <errno.h>
     23# include <fcntl.h>
     24# include <string.h>
     25# include <unistd.h>
    2726#endif
    2827
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgsmi.c

    r62492 r62680  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox HGCM connection
     
    1615 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1716 */
     17
    1818//#define IN_GUEST
    19 #ifdef IN_GUEST
     19#ifdef IN_GUEST /* entire file */
     20
    2021#ifdef RT_OS_WINDOWS
    21     #include <windows.h>
    22     #include <ddraw.h>
     22# include <iprt/win/windows.h>
     23# include <ddraw.h>
    2324#else
    24     #include <sys/ioctl.h>
    25     #include <errno.h>
    26     #include <fcntl.h>
    27     #include <string.h>
    28     #include <unistd.h>
     25# include <sys/ioctl.h>
     26# include <errno.h>
     27# include <fcntl.h>
     28# include <string.h>
     29# include <unistd.h>
    2930#endif
    3031
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