diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/librc/librc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c index 8b4e8d4e..3e1f0d83 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -220,6 +220,13 @@ detect_prefix(const char *systype) #ifdef PREFIX return RC_SYS_PREFIX; #else + if (systype) { + if (strcmp(systype, RC_SYS_NONE) == 0) + return NULL; + if (strcmp(systype, RC_SYS_PREFIX) == 0) + return RC_SYS_PREFIX; + } + return NULL; #endif } |