Drop PREFIX macro

Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
This commit is contained in:
Yiyang Wu 2024-01-07 15:37:42 +08:00
parent b3eb315875
commit f3a763cb77
No known key found for this signature in database
GPG Key ID: D14B801691FD5D4B

View File

@ -234,9 +234,6 @@ get_systype(void)
static const char *
detect_prefix(const char *systype)
{
#ifdef PREFIX
return RC_SYS_PREFIX;
#else
if (systype) {
if (strcmp(systype, RC_SYS_NONE) == 0)
return NULL;
@ -245,7 +242,6 @@ detect_prefix(const char *systype)
}
return NULL;
#endif
}
static const char *