Unknown type name ‘off64_t’

后端 未结 7 1841
你的背包
你的背包 2021-02-12 17:52

I have a problem using Apache Portable Runtime on Ubuntu with GCC 4.8.1

The problem is that the off64_t from is not availab

7条回答
  •  借酒劲吻你
    2021-02-12 18:31

    In my environment gcc version 4.1.2, I need to define __USE_LARGEFILE64. I found this macro from /usr/include/unistd.h who defines lseek64()

    #define __USE_LARGEFILE64
    #include 
    #include 
    

提交回复
热议问题