mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
Merge pull request #1493 from ajrhacker/stdlib_fix
Fix Clang build (nw)
This commit is contained in:
commit
a22650b437
4
3rdparty/linenoise-ng/src/linenoise.cpp
vendored
4
3rdparty/linenoise-ng/src/linenoise.cpp
vendored
@ -2296,7 +2296,7 @@ int InputBuffer::incrementalHistorySearch(PromptBase& pi, int startChar) {
|
||||
historyLinePosition);
|
||||
}
|
||||
fprintf(stdout, "\n");
|
||||
std::exit(0);
|
||||
exit(0);
|
||||
//#endif
|
||||
|
||||
// these characters update the search string, and hence the selected input
|
||||
@ -2938,7 +2938,7 @@ int InputBuffer::getInputLine(PromptBase& pi) {
|
||||
//if (!pi.write()) break; // Redraw prompt
|
||||
//refreshLine(pi); // Refresh the line
|
||||
fprintf(stdout,"\n");
|
||||
std::exit(0);
|
||||
exit(0);
|
||||
//break;
|
||||
//#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user