diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-14 20:35:45 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-14 20:35:45 +0000 |
| commit | fb719bceb294c7a9b88dbf43124d0165826e9272 (patch) | |
| tree | 41b20425bbd3284ed700eb89364c2b0b75215526 /src/base/path.h | |
| parent | 181bb4a85d1b2ca043a815d8d6b2796ad0ba4c73 (diff) | |
- pridana autonomni kompilace na win (potreba pouze kompiler a cmake)
git-svn-id: http://opensvn.csie.org/tuxanci_ng@140 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/path.h')
| -rw-r--r-- | src/base/path.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/path.h b/src/base/path.h index 8765ed5..d647710 100644 --- a/src/base/path.h +++ b/src/base/path.h @@ -6,7 +6,11 @@ #include "main.h" #ifndef PREFIX +#ifndef __WIN32__ #define PREFIX "/usr/local" +#else +#endif +#define PREFIX ".." #endif #ifndef PUBLIC_SERVER @@ -15,7 +19,11 @@ #else #define PATH_DIR PREFIX "/share/tuxanci-ng-server/" #define PATH_MODULES PREFIX "/lib/tuxanci-ng-server/" +#ifndef __WIN32__ #define SERVER_CONFIG "/etc/tuxanci-ng-server/server.conf" +#else + #define SERVER_CONFIG PREFIX "/etc/tuxanci-ng-server/server.conf" +#endif #endif #define PATH_IMAGE PATH_DIR "image/" |