Commit bb338c69 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Disable check_OS_capability() on OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 5d1975c4
...@@ -53,7 +53,7 @@ static uint32_t cpu_flags; ...@@ -53,7 +53,7 @@ static uint32_t cpu_flags;
#if defined( __i386__ ) || defined( __x86_64__ ) || defined( __powerpc__ ) \ #if defined( __i386__ ) || defined( __x86_64__ ) || defined( __powerpc__ ) \
|| defined( __ppc__ ) || defined( __ppc64__ ) || defined( __powerpc64__ ) || defined( __ppc__ ) || defined( __ppc64__ ) || defined( __powerpc64__ )
# ifndef WIN32 # if !defined( WIN32 ) && !defined( __OS2__ )
static bool check_OS_capability( const char *psz_capability, pid_t pid ) static bool check_OS_capability( const char *psz_capability, pid_t pid )
{ {
int status; int status;
...@@ -86,7 +86,7 @@ static bool check_OS_capability( const char *psz_capability, pid_t pid ) ...@@ -86,7 +86,7 @@ static bool check_OS_capability( const char *psz_capability, pid_t pid )
i_capabilities |= (flag); \ i_capabilities |= (flag); \
} while(0) } while(0)
# else /* WIN32 */ # else /* WIN32 || __OS2__ */
# define check_capability(name, flag, code, input) \ # define check_capability(name, flag, code, input) \
i_capabilities |= (flag); i_capabilities |= (flag);
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment