VirtualBox

Changeset 62680 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Jul 29, 2016 12:52:46 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109253
Message:

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

Location:
trunk/src/VBox/GuestHost/OpenGL/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.

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