Changeset 6779 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 4, 2008 10:49:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGR.cpp
r6538 r6779 21 21 *******************************************************************************/ 22 22 #ifdef VBOX_VBGLR3_XFREE86 23 /* For the definitions of standard X server library functions like xalloc. */ 24 /* Make the headers C++-compatible */ 25 # define class xf86_vbox_class 26 # define bool xf86_vbox_bool 27 # define private xf86_vbox_private 28 # define new xf86_vbox_new 29 extern "C" 30 { 31 # include "xf86.h" 32 # include "xf86_OSproc.h" 33 # include "xf86Resources.h" 34 # include "xf86_ansic.h" 35 } 36 # undef class 37 # undef bool 38 # undef private 39 # undef new 23 /* Rather than try to resolve all the header file conflicts, I will just 24 prototype what we need here. */ 25 # define xalloc(size) Xalloc((unsigned long)(size)) 26 # define xfree(ptr) Xfree((pointer)(ptr)) 27 typedef void *pointer; 28 extern "C" pointer Xalloc(unsigned long /*amount*/); 29 extern "C" void Xfree(pointer /*ptr*/); 40 30 #else 41 31 # include <iprt/mem.h>
Note:
See TracChangeset
for help on using the changeset viewer.