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)
107
107
check_function_exists (strtok_r HAVE_STRTOK_R)
108
108
## find optional headers
109
109
include (CheckIncludeFile)
110
- CHECK_INCLUDE_FILE("unistd.h" CMAPLE_HAS_UNISTDH )
110
+ CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTDH )
111
111
112
112
113
113
Original file line number Diff line number Diff line change 15
15
#cmakedefine HAVE_STRNDUP
16
16
#cmakedefine HAVE_STRTOK_R
17
17
18
- #cmakedefine CMAPLE_HAS_UNISTDH
18
+ #cmakedefine HAVE_UNISTDH
19
19
20
20
/* does the platform provide backtrace functions? */
21
21
#cmakedefine Backtrace_FOUND
Original file line number Diff line number Diff line change 8
8
#include " operatingsystem.h"
9
9
#include < sstream>
10
10
#include < string>
11
- #if defined(CMAPLE_HAS_UNISTDH )
11
+ #if defined(HAVE_UNISTDH )
12
12
#include < unistd.h> // for isatty
13
13
#else
14
14
#include < io.h> // for _isatty
@@ -32,7 +32,7 @@ auto getOSName() -> std::string {
32
32
}
33
33
34
34
auto isStandardOutputATerminal () -> bool {
35
- #if defined(CMAPLE_HAS_UNISTDH )
35
+ #if defined(HAVE_UNISTDH )
36
36
return isatty (fileno (stdout));
37
37
#else
38
38
return _isatty (fileno (stdout));
You can’t perform that action at this time.
0 commit comments