move JES_O_BINARY to FileReader.cc
This commit is contained in:
parent
a3326b099b
commit
17bce5caed
@ -5,12 +5,6 @@
|
|||||||
#include "Path.h"
|
#include "Path.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#define JES_O_BINARY O_BINARY
|
|
||||||
#else
|
|
||||||
#define JES_O_BINARY 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace jes
|
namespace jes
|
||||||
{
|
{
|
||||||
typedef Ref<std::string> StringRef;
|
typedef Ref<std::string> StringRef;
|
||||||
|
@ -4,6 +4,12 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define JES_O_BINARY O_BINARY
|
||||||
|
#else
|
||||||
|
#define JES_O_BINARY 0
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace jes
|
namespace jes
|
||||||
{
|
{
|
||||||
bool FileReader::load(const char * fname, uint8_t ** buf, size_t * size)
|
bool FileReader::load(const char * fname, uint8_t ** buf, size_t * size)
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
#ifndef JES_FILEREADER_H
|
#ifndef JES_FILEREADER_H
|
||||||
#define JES_FILEREADER_H
|
#define JES_FILEREADER_H
|
||||||
|
|
||||||
#include "Core.h"
|
|
||||||
#include "Ref.h"
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
namespace jes
|
namespace jes
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user