github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/eigen3/unsupported/Eigen/CXX11/Tensor (about)

     1  #include "unsupported/Eigen/CXX11/Tensor"
     2  
     3  #ifdef _WIN32
     4  #ifndef SLEEP_FUNC_HEADER_GUARD
     5  #define SLEEP_FUNC_HEADER_GUARD
     6  inline void sleep(unsigned int seconds) { Sleep(1000*seconds); }
     7  #endif
     8  
     9  // On Windows, Eigen will include Windows.h, which defines various
    10  // macros that conflict with TensorFlow symbols. Undefine them here to
    11  // prevent clashes.
    12  #undef DeleteFile
    13  #undef ERROR
    14  #undef LoadLibrary
    15  #endif  // _WIN32