summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 21:23:23 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 21:23:23 +0000
commitd453b42def7e0864cbba4489878c351218674dd7 (patch)
tree751c8a07094f2b8f8ee9039596063e1bae60d889 /src/main.c
parentc78040dbcfe4c40304944520e0eb4b46dda1e089 (diff)
some win32 build stuff
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 63e9ca2..3f79971 100644
--- a/src/main.c
+++ b/src/main.c
@@ -38,6 +38,9 @@
#include "trg-client.h"
#ifdef HAVE_LIBUNIQUE
+
+#define TRG_LIBUNIQUE_DOMAIN "uk.org.eth0.trg"
+
enum {
COMMAND_0,
COMMAND_ADD
@@ -116,7 +119,7 @@ int main(int argc, char *argv[])
#ifdef HAVE_LIBUNIQUE
if ((withUnique = g_getenv("TRG_NOUNIQUE") == NULL))
- app = unique_app_new_with_commands("uk.org.eth0.trg", NULL,
+ app = unique_app_new_with_commands(TRG_LIBUNIQUE_DOMAIN, NULL,
"add", COMMAND_ADD, NULL);
if (withUnique && unique_app_is_running(app)) {