Mercurial > minori
comparison src/core/filesystem.cc @ 221:53211cb1e7f5
library: add initial library stuff
nice
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 08 Jan 2024 13:21:08 -0500 |
parents | 8548dc425697 |
children | 2f5a9247e501 |
comparison
equal
deleted
inserted
replaced
220:79a87a6dd39d | 221:53211cb1e7f5 |
---|---|
5 #elif defined(__linux__) | 5 #elif defined(__linux__) |
6 # include <pwd.h> | 6 # include <pwd.h> |
7 # include <sys/types.h> | 7 # include <sys/types.h> |
8 #endif | 8 #endif |
9 | 9 |
10 #ifdef WIN32 | 10 #ifndef WIN32 |
11 # define DELIM "\\" | |
12 #else | |
13 # define DELIM "/" | |
14 # include <errno.h> | 11 # include <errno.h> |
15 # include <unistd.h> | 12 # include <unistd.h> |
16 # include <sys/stat.h> | 13 # include <sys/stat.h> |
17 #endif | 14 #endif |
18 | 15 |