commit | 7e0d2cb62c94d8bae2964e55c1f7b35972b258cb | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Wed Aug 11 07:41:45 2004 +0000 |
committer | Lev Walkin <vlm@lionet.info> | Wed Aug 11 07:41:45 2004 +0000 |
tree | 48d0d43eb060962d6cd3a4914d25378dcdfc160f | |
parent | 659a751cfbc8a13fe370fff95ac3c204b93edb40 [diff] [blame] |
portability
diff --git a/skeletons/constr_SET.c b/skeletons/constr_SET.c index 2fd0ac9..dc699f5 100644 --- a/skeletons/constr_SET.c +++ b/skeletons/constr_SET.c
@@ -447,6 +447,12 @@ if(t2m_build_own) { t2m = alloca(specs->elements_count * sizeof(t2m[0])); t2m_count = 0; + if(!t2m) { /* There are such platforms */ + my_erval.encoded = -1; + my_erval.failed_type = sd; + my_erval.structure_ptr = ptr; + return my_erval; + } } else { /* * There is no untagged CHOICE in this SET.