From 0b7facf05db684ec15c3d011a7394d2990ffd8b7 Mon Sep 17 00:00:00 2001 From: xylosper Date: Wed, 11 Jun 2014 22:55:39 +0900 Subject: options: fix for compilation when encoding disabled HAVE_* flags are always defined so ifdef will never work. They should be checked with their values. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 7fb4060fca..4ecd3c6069 100644 --- a/options/options.c +++ b/options/options.c @@ -506,7 +506,7 @@ const m_option_t mp_opts[] = { OPT_PRINT("version", print_version), OPT_PRINT("V", print_version), -#ifdef HAVE_ENCODING +#if HAVE_ENCODING OPT_SUBSTRUCT("", encode_opts, encode_config, 0), #endif -- cgit v1.2.3