64 ビット アーキテクチャ用の Android L を構築しようとしています。
私のコードは次のようになります:
#if (HAS_LARGE_FILE_SUPPORT)
#define _FILE_OFFSET_BITS 64 //Defined in header file
/*Some File operations*/
#if HAS_LARGE_FILE_SUPPORT
return fseeko(iFile, offset, seekmode);
#else
return fseek(iFile, offset, seekmode);
/*Some File operations*/
#if HAS_LARGE_FILE_SUPPORT
return ftello(iFile, offset, seekmode);
#else
return ftell(iFile, offset, seekmode);
以下ftello
のfseeko
エラーが発生しています:
error: call to 'ftello' declared with attribute error: not available with _FILE_OFFSET_BITS=64
error: call to 'fseeko' declared with attribute error: not available with _FILE_OFFSET_BITS=64
fseeko
とについて確認ftello
しましたが、マニュアル ページでは_FILE_OFFSET_BITS
、値 64で定義するとoff_t
64 ビット型になることが記載されています。それでもこのエラーが表示されます。このエラーについて確認しましたが、満足のいく答えが見つかりませんでした。
誰かが私にこれを手伝ってくれると本当に助かります。