VirtualBox

Changeset 44424 in vbox


Ignore:
Timestamp:
Jan 28, 2013 1:54:47 PM (12 years ago)
Author:
vboxsync
Message:

VBoxTpG.h: OS/2 cheats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxTpG.h

    r41343 r44424  
    123123# endif
    124124
    125 #elif defined(RT_OS_OS2)
    126 # error "OS/2 is not supported"
     125#elif defined(RT_OS_OS2) /** @todo This doesn't actually work, but it makes the code compile. */
     126# define VTG_OBJ_SECT       "__DATA"
     127# define VTG_LOC_SECT       "__VTGPrLc"
     128# define VTG_LOC_SET        "__VTGPrLcSet"
     129# ifdef __GNUC__
     130#  define VTG_DECL_VTGPROBELOC(a_VarName) \
     131    static VTGPROBELOC a_VarName; \
     132    __asm__ (".stabs \"__VTGPrLcSet\",  23, 0, 0, _" #a_VarName );
     133   
     134# else
     135#  error "Unsupported Darwin compiler!"
     136# endif
    127137
    128138#else /* Assume the rest uses ELF. */
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