diff options
author | Roy Marples <roy@marples.name> | 2008-03-03 08:06:53 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-03 08:06:53 +0000 |
commit | c67c283b2adfa5930ca669c7232e2199692d3220 (patch) | |
tree | c657f6c174b689d86d4eb20f24ad1863806c1cc6 | |
parent | 67c5fd6bb8f1d489f7dd012a63a370f20fbe02da (diff) |
Fix prefix test.
-rw-r--r-- | src/includes/rc-misc.h | 2 | ||||
-rw-r--r-- | src/librc/librc.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 4ba0f839..1294ed28 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -43,6 +43,8 @@ #ifndef PREFIX # define PREFIX "" +#else +# define HAVE_PREFIX #endif #define RC_LEVEL_BOOT "boot" diff --git a/src/librc/librc.c b/src/librc/librc.c index 5525f2f3..d292e856 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -186,7 +186,7 @@ static bool file_regex (const char *file, const char *regex) const char *rc_sys (void) { -#ifdef PREFIX +#ifdef HAVE_PREFIX return (RC_SYS_PREFIX); #else |