• Y
    Switch from const int to macro for array length · 1de4db94
    Yifan Hao 提交于
    Looks like Jenkins compiler is not happy with variable length
    static array...
    
    * Testing
    Local compile pass
    
    >gcc --version
    Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
    Apple clang version 13.0.0 (clang-1300.0.29.3)
    Target: x86_64-apple-darwin21.1.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin
    
    ./taosdemo for sanity check
    1de4db94
tsdbFile.c 19.5 KB