summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorxHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-07 11:04:41 +0000
committerxHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-07 11:04:41 +0000
commite8af9a2ecae53d00c2c335ac76802966c3681342 (patch)
treea93b2acae1a6c94aafb1f00602c51a5e97b24653 /src/base
parent24eaa3195f6f7ab7f8dbf68ba6ccb5340df7d2a8 (diff)
- fixed problem with PREFIX
- fixed problem when compiling without sound git-svn-id: http://opensvn.csie.org/tuxanci_ng@114 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base')
-rw-r--r--src/base/path.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/base/path.h b/src/base/path.h
index 783fc6c..8765ed5 100644
--- a/src/base/path.h
+++ b/src/base/path.h
@@ -12,13 +12,10 @@
#ifndef PUBLIC_SERVER
#define PATH_DIR PREFIX "/share/tuxanci-ng/"
#define PATH_MODULES PREFIX "/lib/tuxanci-ng/"
-#endif
-
-#ifdef PUBLIC_SERVER
+#else
#define PATH_DIR PREFIX "/share/tuxanci-ng-server/"
#define PATH_MODULES PREFIX "/lib/tuxanci-ng-server/"
#define SERVER_CONFIG "/etc/tuxanci-ng-server/server.conf"
-
#endif
#define PATH_IMAGE PATH_DIR "image/"