File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ check_function_exists (strndup HAVE_STRNDUP)
107107check_function_exists (strtok_r HAVE_STRTOK_R)
108108## find optional headers
109109include (CheckIncludeFile)
110- CHECK_INCLUDE_FILE("unistd.h" CMAPLE_HAS_UNISTDH )
110+ CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTDH )
111111
112112
113113
Original file line number Diff line number Diff line change 1515#cmakedefine HAVE_STRNDUP
1616#cmakedefine HAVE_STRTOK_R
1717
18- #cmakedefine CMAPLE_HAS_UNISTDH
18+ #cmakedefine HAVE_UNISTDH
1919
2020/* does the platform provide backtrace functions? */
2121#cmakedefine Backtrace_FOUND
Original file line number Diff line number Diff line change 88#include " operatingsystem.h"
99#include < sstream>
1010#include < string>
11- #if defined(CMAPLE_HAS_UNISTDH )
11+ #if defined(HAVE_UNISTDH )
1212#include < unistd.h> // for isatty
1313#else
1414#include < io.h> // for _isatty
@@ -32,7 +32,7 @@ auto getOSName() -> std::string {
3232}
3333
3434auto isStandardOutputATerminal () -> bool {
35- #if defined(CMAPLE_HAS_UNISTDH )
35+ #if defined(HAVE_UNISTDH )
3636 return isatty (fileno (stdout));
3737#else
3838 return _isatty (fileno (stdout));
You can’t perform that action at this time.
0 commit comments