]> Creatis software - crea.git/blob - src/creaSystem.cxx
BUG link boost
[crea.git] / src / creaSystem.cxx
1 #include "creaSystem.h"
2
3 namespace crea
4 {
5
6 #ifdef _WIN32
7   int System::HasTTY() { return false; }
8 #else  
9 #include <unistd.h>
10    int System::HasTTY() 
11    { 
12      return isatty(fileno(stdin));
13    }
14 #endif
15
16 } // namespace crea