-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSVC: tools: disable interactive tools
I don't feel like porting linenoise to Windows, there's no getline, etc.
- Loading branch information
1 parent
a3fe12a
commit 2e3f935
Showing
3 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* @file main_ni_only.c | ||
* @brief non-interactive implementation of main() for those platforms without the linenoise library | ||
* | ||
* Copyright (c) 2015-2021 CESNET, z.s.p.o. | ||
* | ||
* This source code is licensed under BSD 3-Clause License (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
|
||
int main_ni(int argc, char *argv[]); | ||
|
||
int done; /* for cmd.c */ | ||
|
||
int | ||
main(int argc, char *argv[]) | ||
{ | ||
return main_ni(argc, argv); | ||
} |