forked from boostorg/config
Embarcadero C++ clang-based compilers have chdir and dup2 but not _chdir and _dup2.
This commit is contained in:
@ -111,6 +111,18 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif /* defined(BOOST_EMBTC) */
|
#endif /* defined(BOOST_EMBTC) */
|
||||||
|
|
||||||
|
#if defined(BOOST_EMBTC_WINDOWS)
|
||||||
|
|
||||||
|
#if !defined(_chdir)
|
||||||
|
#define _chdir(x) chdir(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(_dup2)
|
||||||
|
#define _dup2(x,y) dup2(x,y)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
# undef BOOST_COMPILER
|
# undef BOOST_COMPILER
|
||||||
# define BOOST_COMPILER "Embarcadero-Clang C++ version " BOOST_STRINGIZE(__CODEGEARC__) " clang: " __clang_version__
|
# define BOOST_COMPILER "Embarcadero-Clang C++ version " BOOST_STRINGIZE(__CODEGEARC__) " clang: " __clang_version__
|
||||||
// # define __CODEGEARC_CLANG__ __CODEGEARC__
|
// # define __CODEGEARC_CLANG__ __CODEGEARC__
|
||||||
|
Reference in New Issue
Block a user