Fix compilation for OTP 21
Loïc Hoguin
5 years ago
12 | 12 |
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
13 | 13 |
|
14 | 14 |
-module(asciideck_to_html).
|
|
15 |
|
|
16 |
-ifdef(OTP_RELEASE).
|
|
17 |
-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
|
|
18 |
-endif.
|
15 | 19 |
|
16 | 20 |
-export([translate/2]).
|
17 | 21 |
|
14 | 14 |
%% The Groff documentation section 4.1 has a pretty good
|
15 | 15 |
%% description of the format expected for man pages.
|
16 | 16 |
-module(asciideck_to_manpage).
|
|
17 |
|
|
18 |
-ifdef(OTP_RELEASE).
|
|
19 |
-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
|
|
20 |
-endif.
|
17 | 21 |
|
18 | 22 |
-export([translate/2]).
|
19 | 23 |
|