Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACUTest does not build with Embaradero C++ Builder #10

Closed
BrendanSimon opened this issue Aug 30, 2017 · 3 comments
Closed

ACUTest does not build with Embaradero C++ Builder #10

BrendanSimon opened this issue Aug 30, 2017 · 3 comments

Comments

@BrendanSimon
Copy link
Contributor

To get ACUTest to build with Embarcadero C++ Builder I had to change add test_colorize = isatty(_fileno(stdout)); as follows.

#if defined ACUTEST_UNIX__
    test_colorize__ = isatty(STDOUT_FILENO);
#elif defined ACUTEST_WIN__
 #if defined __BORLANDC__
    test_colorize__ = isatty(_fileno(stdout));
 #else
    test_colorize__ = _isatty(_fileno(stdout));
 #endif
#else
    test_colorize__ = 0;
#endif

@mity
Copy link
Owner

mity commented Aug 30, 2017

Could you make a PR for it?

@BrendanSimon
Copy link
Contributor Author

PR done.

@mity
Copy link
Owner

mity commented Aug 30, 2017

Merged

@mity mity closed this as completed Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants