aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-03-31 15:13:00 +0200
committerGitHub <[email protected]>2017-03-31 15:13:00 +0200
commit6604585547b8e84d53aac174182cfb06289bbf73 (patch)
tree2eda1d9e3fcd989d4861d797366b1d7b20d14890 /lib/asn1
parent50f8a40215cfb0dc519c511a6e942e4f2b3b0124 (diff)
parent70bdb9e79429fb347c5437743d0e8f6851e0783d (diff)
downloadotp-6604585547b8e84d53aac174182cfb06289bbf73.tar.gz
otp-6604585547b8e84d53aac174182cfb06289bbf73.tar.bz2
otp-6604585547b8e84d53aac174182cfb06289bbf73.zip
Merge PR-1390 from kostis/on_load-no_native OTP-14316
Add a no_native option to modules with an on_load
Diffstat (limited to 'lib/asn1')
-rw-r--r--lib/asn1/src/asn1rt_nif.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1rt_nif.erl b/lib/asn1/src/asn1rt_nif.erl
index ff464885f6..e540b9f50d 100644
--- a/lib/asn1/src/asn1rt_nif.erl
+++ b/lib/asn1/src/asn1rt_nif.erl
@@ -26,6 +26,7 @@
decode_ber_tlv/1,
encode_ber_tlv/1]).
+-compile(no_native).
-on_load(load_nif/0).
-define(ASN1_NIF_VSN,1).