From 0990235d680febd78ea43aa59b5af9796aa22232 Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 14 Jul 2008 23:08:45 +0000 Subject: -- tuxanci na win behaji -- pri spousteni nejprve krici toto (gdb): [New thread 6676.0x18d0] Error: dll starting at 0x77870000 not found. Error: dll starting at 0x75ec0000 not found. Error: dll starting at 0x77870000 not found. Error: dll starting at 0x779a0000 not found. 0x00416b49 in main () - a pote smrtici pri spousteni aren (gdb): Program received signal SIGSEGV, Segmentation fault. 0x77c3f217 in ntdll!RtlDecompressBuffer () from C:\Windows\system32\ntdll.dll git-svn-id: http://opensvn.csie.org/tuxanci_ng@142 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/path.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/base/path.h') diff --git a/src/base/path.h b/src/base/path.h index d647710..346f71d 100644 --- a/src/base/path.h +++ b/src/base/path.h @@ -15,13 +15,18 @@ #ifndef PUBLIC_SERVER #define PATH_DIR PREFIX "/share/tuxanci-ng/" +#ifndef __WIN32__ #define PATH_MODULES PREFIX "/lib/tuxanci-ng/" +#else + #define PATH_MODULES PREFIX "/bin/" +#endif #else #define PATH_DIR PREFIX "/share/tuxanci-ng-server/" - #define PATH_MODULES PREFIX "/lib/tuxanci-ng-server/" #ifndef __WIN32__ + #define PATH_MODULES PREFIX "/lib/tuxanci-ng-server/" #define SERVER_CONFIG "/etc/tuxanci-ng-server/server.conf" #else + #define PATH_MODULES PREFIX "/bin" #define SERVER_CONFIG PREFIX "/etc/tuxanci-ng-server/server.conf" #endif #endif -- cgit v1.2.3