Browse Source

Fixed incorrect define of fseeko

master
Artyom Beilis 8 years ago
parent
commit
ae0df94902
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      private/http_file_buffer.h

+ 2
- 2
private/http_file_buffer.h View File

@@ -11,13 +11,13 @@
#define _FILE_OFFSET_BITS 64
#endif
#include <cppcms/config.h>
#include <stdlib.h>
#include <stdio.h>
#ifdef CPPCMS_HAVE_FSEEKO
// nothing
#elif defined(CPPCMS_HAVE_FSEEKI64)
#define fseeko(f,o,w) _fseeki64(f,o,w)
#else
#define fseek(f,o,w) fseek(f,o,w)
#define fseeko(f,o,w) fseek(f,o,w)
#endif

#include <booster/nowide/cstdio.h>


Loading…
Cancel
Save