-
Notifications
You must be signed in to change notification settings - Fork 3
/
path.h
30 lines (27 loc) · 903 Bytes
/
path.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Created by Ajay on 12-12-2017.
//
#ifndef POCKETDB_PATH_H
#define POCKETDB_PATH_H
#if defined( __linux__ )
#define POCKETFILES_PATH "../../POCKETFILES/"
#define POCKETFILES_PATH_BACKUP "../../POCKETFILES_BACKUP/"
#define MIN_DIR_LEN 5
#define START_INDEX 3
#elif defined( __APPLE__ )
#define POCKETFILES_PATH "../../POCKETFILES/"
#define POCKETFILES_PATH_BACKUP "../../POCKETFILES_BACKUP/"
#define MIN_DIR_LEN 5
#define START_INDEX 3
#elif defined( _WIN64 ) || defined(_WINDOWS_)
#define POCKETFILES_PATH "..\\..\\POCKETFILES\\"
#define POCKETFILES_PATH_BACKUP "..\\..\\POCKETFILES_BACKUP\\"
#define MIN_DIR_LEN 4
#define START_INDEX 2
#else
#define POCKETFILES_PATH "..\\..\\POCKETFILES\\"
#define POCKETFILES_PATH_BACKUP "..\\..\\POCKETFILES_BACKUP\\"
#define MIN_DIR_LEN 4
#define START_INDEX 2
#endif
#endif //POCKETDB_PATH_H