diff -r 389bd0e1ffa9 -r aadda87bad1b src/server/safs/init.c --- a/src/server/safs/init.c Thu Jan 26 17:23:11 2017 +0100 +++ b/src/server/safs/init.c Thu Jan 26 18:53:52 2017 +0100 @@ -26,7 +26,13 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef XP_UNIX #include +#endif +#ifdef XP_WIN32 + +#endif + #include #include "../daemon/func.h" @@ -39,6 +45,8 @@ return REQ_PROCEED; } +#ifdef XP_UNIX + int load_modules(pblock *pb, Session *sn, Request *rq) { char *shlib = pblock_findval("shlib", pb); char *funcs = pblock_findval("funcs", pb); @@ -129,3 +137,15 @@ return REQ_PROCEED; } + +#endif + +#ifdef XP_WIN32 + +int load_modules(pblock *pb, Session *sn, Request *rq) { + // TODO: implement + return 0; +} + +#endif +