VirtualBox

Changeset 2194 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2007 7:42:14 PM (18 years ago)
Author:
vboxsync
Message:

fixed includes

Location:
trunk/src/VBox/Additions/common/VBoxGuestLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/HGCM.cpp

    r769 r2194  
    2828#ifndef VBGL_VBOXGUEST
    2929
    30 /** @todo r=bird: These two issues with string.h and bool are handled by
    31  * iprt/string.h and iprt/types.h respectivly. Please change after the release. */
    32 #if defined(__LINUX__) && defined(__KERNEL__)
    33 #ifndef bool /* Linux 2.6.19 C++ nightmare */
    34 #define bool bool_type
    35 #define true true_type
    36 #define false false_type
    37 #define _Bool int
    38 #define bool_HGCM_cpp
    39 #endif
    40 #include <linux/string.h>
    41 #ifdef bool_HGCM_cpp
    42 #undef bool
    43 #undef true
    44 #undef false
    45 #undef _Bool
    46 #undef bool_HGCM_cpp
    47 #endif
    48 #else
    49 #include <string.h>
    50 #endif
    51 
    5230#include <VBox/VBoxGuestLib.h>
    5331#include "VBGLInternal.h"
     
    5533#include <iprt/assert.h>
    5634#include <iprt/semaphore.h>
     35#include <iprt/string.h>
    5736
    5837#define VBGL_HGCM_ASSERTMsg AssertReleaseMsg
  • trunk/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp

    r1554 r2194  
    2424#ifdef VBGL_VBOXGUEST
    2525
    26 /** @todo r=bird: These two issues with string.h and bool are handled by
    27  * iprt/string.h and iprt/types.h respectivly. Please change after the release. */
    28 #if defined(__LINUX__) && defined(__KERNEL__)
    29 #ifndef bool /* Linux 2.6.19 C++ nightmare */
    30 #define bool bool_type
    31 #define true true_type
    32 #define false false_type
    33 #define _Bool int
    34 #define bool_HGCMInternal_cpp
    35 #endif
    36 #include <linux/string.h>
    37 #ifdef bool_HGCMInternal_cpp
    38 #undef bool
    39 #undef true
    40 #undef false
    41 #undef _Bool
    42 #undef bool_HGCMInternal_cpp
    43 #endif
    44 #else
    45 #include <string.h>
    46 #endif
    4726#include <VBox/VBoxGuestLib.h>
    4827#include "VBGLInternal.h"
     28#include <iprt/string.h>
    4929#include <iprt/assert.h>
    5030
  • trunk/src/VBox/Additions/common/VBoxGuestLib/Init.cpp

    r769 r2194  
    2121 */
    2222
    23 #if defined(__LINUX__) && defined(__KERNEL__)
    24 #ifndef bool /* Linux 2.6.19 C++ nightmare */
    25 #define bool bool_type
    26 #define true true_type
    27 #define false false_type
    28 #define _Bool int
    29 #define bool_Init_cpp
    30 #endif
    31 #include <linux/string.h>
    32 #ifdef bool_Init_cpp
    33 #undef bool
    34 #undef true
    35 #undef false
    36 #undef _Bool
    37 #undef bool_Init_cpp
    38 #endif
    39 #else
    40 #include <string.h>
    41 #endif
    4223
    4324#include <VBox/VBoxGuestLib.h>
     
    4627#include "VBGLInternal.h"
    4728
     29#include <iprt/string.h>
    4830#include <iprt/assert.h>
    4931
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