Fix prefix test.
This commit is contained in:
parent
67c5fd6bb8
commit
c67c283b2a
@ -43,6 +43,8 @@
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX ""
|
||||
#else
|
||||
# define HAVE_PREFIX
|
||||
#endif
|
||||
|
||||
#define RC_LEVEL_BOOT "boot"
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user