Commit ad1bd262b5d56a9e562ab292e0665d64da61eb00

Authored by Henry Fredrick Schreiner
1 parent 2170b60c

Trying to fix linker errors

.appveyor.yml
... ... @@ -7,9 +7,6 @@ os:
7 7 environment:
8 8 CTEST_OUPTUT_ON_FAILURE: ON
9 9  
10   -configuration:
11   - - Debug
12   -
13 10 branches:
14 11 except:
15 12 - gh-pages
... ...
include/CLI/Validators.hpp
... ... @@ -27,7 +27,7 @@ namespace CLI {
27 27 bool ExistingFile(std::string filename) {
28 28 struct stat buffer;
29 29 bool exist = stat(filename.c_str(), &buffer) == 0;
30   - bool is_dir = (buffer.st_mode & S_IFDIR != 0);
  30 + bool is_dir = (buffer.st_mode & S_IFDIR) != 0;
31 31 if(!exist) {
32 32 std::cerr << "File does not exist: " << filename << std::endl;
33 33 return false;
... ...