diff options
author | sapier <Sapier at GMX dot net> | 2014-05-14 21:51:27 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-05-31 23:48:06 +0200 |
commit | 34904a0744ee08d387a67619a5e2c46ce4928c12 (patch) | |
tree | 1c62e83179138e77a013f29a4069a7ce2a58c4d0 /src/porting.h | |
parent | d76b8c6e7ca96b33b706ef42a8e301531c592fea (diff) | |
download | minetest-34904a0744ee08d387a67619a5e2c46ce4928c12.tar.gz minetest-34904a0744ee08d387a67619a5e2c46ce4928c12.tar.bz2 minetest-34904a0744ee08d387a67619a5e2c46ce4928c12.zip |
Add daemon support for linux like operating systems
Diffstat (limited to 'src/porting.h')
-rw-r--r-- | src/porting.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/porting.h b/src/porting.h index 937ca9464..be26e4282 100644 --- a/src/porting.h +++ b/src/porting.h @@ -336,6 +336,11 @@ v2u32 getDisplaySize(); v2u32 getWindowSize(); #endif +#ifdef SERVER +void daemonize(); +void cleanup_pid(); +#endif + } // namespace porting #endif // PORTING_HEADER |