VirtualBox

Changeset 33680 in vbox for trunk/src


Ignore:
Timestamp:
Nov 2, 2010 11:08:08 AM (14 years ago)
Author:
vboxsync
Message:

IPRT: Added RTBldCfgCompiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/buildconfig.cpp

    r33679 r33680  
    111111#endif
    112112
     113
     114RTDECL(const char *) RTBldCfgCompiler(void)
     115{
     116#ifdef IPRT_BLDCFG_COMPILER
     117    return IPRT_BLDCFG_COMPILER;
     118#elif defined(__INTEL_COMPILER)
     119    return "intel";
     120#elif defined(__GNUC__)
     121    return "gcc";
     122#elif defined(__llvm__)
     123    return "llvm";
     124#elif defined(__SUNPRO_CC) || defined(__SUNPRO_C)
     125    return "sunpro";
     126#elif defined(__IBMCPP__) || defined(__IBMC__)
     127# if defined(__COMPILER_VER__)
     128    return "ibmzosc";
     129# elif defined(__xlC__) || defined(__xlc__)
     130    return "ibmxlc";
     131# else
     132    return "vac";
     133# endif
     134#elif defined(_MSC_VER)
     135    return "vcc";
     136#elif defined(__WATCOMC__)
     137    return "watcom";
     138#else
     139# error "Unknown compiler"
     140#endif
     141}
     142
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