Joedb
9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
journal
File.h
Go to the documentation of this file.
1
#ifndef joedb_File_declared
2
#define joedb_File_declared
3
4
#ifdef JOEDB_PORTABLE
5
#define JOEDB_FILE Portable_File
6
#define JOEDB_FILE_IS_PORTABLE_FILE
7
#elif defined(_WIN32) && !defined(__cplusplus_winrt)
8
#define JOEDB_FILE Windows_File
9
#define JOEDB_FILE_IS_WINDOWS_FILE
10
#elif defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
11
#define JOEDB_FILE Posix_File
12
#define JOEDB_FILE_IS_POSIX_FILE
13
#else
14
#error("Error: Unknown system. Suggestion: try defining JOEDB_PORTABLE.")
15
#endif
16
17
#define JOEDB_INCLUDE_STRINGIFY(s) #s
18
#define JOEDB_INCLUDE_STRINGIFY2(name,extension) JOEDB_INCLUDE_STRINGIFY(name.extension)
19
#define JOEDB_INCLUDE(name,extension) JOEDB_INCLUDE_STRINGIFY2(name,extension)
20
21
#include JOEDB_INCLUDE(JOEDB_FILE,h)
22
23
namespace
joedb
24
{
25
typedef
JOEDB_FILE
File
;
26
}
27
28
#endif
joedb
Definition
Blob.h:7
joedb::File
JOEDB_FILE File
Definition
File.h:25
Generated by
1.9.8