• S
    Use std::numeric_limits<> (#9954) · 49628c9a
    sdong 提交于
    Summary:
    Right now we still don't fully use std::numeric_limits but use a macro, mainly for supporting VS 2013. Right now we only support VS 2017 and up so it is not a problem. The code comment claims that MinGW still needs it. We don't have a CI running MinGW so it's hard to validate. since we now require C++17, it's hard to imagine MinGW would still build RocksDB but doesn't support std::numeric_limits<>.
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/9954
    
    Test Plan: See CI Runs.
    
    Reviewed By: riversand963
    
    Differential Revision: D36173954
    
    fbshipit-source-id: a35a73af17cdcae20e258cdef57fcf29a50b49e0
    49628c9a
port_posix.h 5.9 KB