Current section
Files
Jump to
Current section
Files
src/edoc_compat.hrl
-ifndef(__EDOC_COMPAT_HRL__).
-define(__EDOC_COMPAT_HRL__, true).
-ifndef(NO_APP).
%% OTP 24+ EDoc
-define(NO_APP, no_app).
-endif.
-ifdef(OTP_RELEASE).
-if(?OTP_RELEASE >= 24).
-define(context, doclet_context).
-else.
%% Pre OTP 24 EDoc
-define(context, context).
-endif. %% OTP_RELEASE >= 24
-else.
-define(context, context).
-endif. %% OTP_RELEASE
-endif. %% __EDOC_COMPAT_HRL__