Итак, я выполнил быстрый тест для файла размером 16 ГБ, и, похоже, он сработал. Вот код, который я использовал.
// compiled with : g++ -o largefile -D_FILE_OFFSET_BITS=64 largefile.cpp
#include "iostream"
#include "fstream"
int
main (int argc, char * argv[]) {
char line[4096];
std::ifstream stream ("/home/jbellone/largefile.csv");
// Seek forward to somewhere past 4GB
stream.seekg (10294967296, std::ios_base::beg);
stream.getline (line, 100);
std::cout << stream.tellg() << " " << line << "\n";
}