mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
test/lp: Replace if linux with if not windows.
This is stuff that works on posix, so we can flip the check.
This commit is contained in:
parent
55b70b4c7e
commit
d8c99480c6
|
@ -19,7 +19,7 @@
|
|||
--*/
|
||||
|
||||
#include <limits>
|
||||
#if _LINUX_
|
||||
#ifndef _WINDOWS
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
#include <algorithm>
|
||||
|
@ -1735,7 +1735,7 @@ void random_test() {
|
|||
}
|
||||
}
|
||||
|
||||
#if _LINUX_
|
||||
#ifndef _WINDOWS
|
||||
void fill_file_names(vector<std::string> &file_names, std::set<std::string> & minimums) {
|
||||
char *home_dir = getenv("HOME");
|
||||
if (home_dir == nullptr) {
|
||||
|
@ -4072,7 +4072,7 @@ void test_lp_local(int argn, char**argv) {
|
|||
}
|
||||
|
||||
if (args_parser.option_is_used("--solve_some_mps")) {
|
||||
#if _LINUX_
|
||||
#ifndef _WINDOWS
|
||||
solve_some_mps(args_parser);
|
||||
#endif
|
||||
ret = 0;
|
||||
|
|
Loading…
Reference in a new issue