function p = ismac
%MATLAB Code Generation Library Function

%   Limitations:
%   Can only be used when coder.target is '', 'sfun', or 'mex'.

%   Copyright 1984-2014 The MathWorks, Inc.
%#codegen

eml_invariant(strcmp(coder.target,'sfun') || ...
    strcmp(coder.target,'mex') || ...
    isempty(coder.target), ... % The isempty case is for x-testing.
    'Coder:toolbox:environmentUnknown','ismac',coder.target, ...
    'IfNotConst','Fail');
p = coder.const(feval('ismac'));