Joedb 10.2.3
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
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#include "joedb/JOEDB_INCLUDE.h"
18
19#include JOEDB_INCLUDE(JOEDB_FILE,h)
20
21namespace joedb
22{
23 using File = JOEDB_FILE;
24}
25
26#endif
JOEDB_FILE File
Definition File.h:23