Commit e4b72ca0 authored by 's avatar

tidyup: #if to #ifdef in HAVE_IN_MEMORY_FILE_FOPENCOOKIE as per aacid

parent 7b9b3a92
......@@ -58,7 +58,7 @@ int InMemoryFile::_seek(off64_t* offset, int whence)
FILE* InMemoryFile::open(const char* mode)
{
#if HAVE_IN_MEMORY_FILE_FOPENCOOKIE
#ifdef HAVE_IN_MEMORY_FILE_FOPENCOOKIE
if (fptr != nullptr) {
fprintf(stderr, "InMemoryFile: BUG: Why is this opened more than once?");
return nullptr; // maybe there's some legit reason for it, whoever comes up with one can remove this line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment