BSSGP_Emulation: Fix build without BSSGP_EM_L3

Change-Id: Ic58e2d6bc37cb8fd8f0235b8497f674db7cfdd85
diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp
index 05a730b..185fd82 100644
--- a/library/BSSGP_Emulation.ttcnpp
+++ b/library/BSSGP_Emulation.ttcnpp
@@ -526,11 +526,14 @@
 }
 
 private function f_send_bssgp_dec(BssgpDecoded dec, BSSGP_Client_CT vc_conn, BSSGP_SP_PT pt := BSSGP_SP) runs on BSSGP_CT {
+#ifdef BSSGP_EM_L3
 	if (ispresent(dec.l3_mt)) {
 		pt.send(dec.l3_mt) to vc_conn;
 	} else if (ispresent(dec.l3_mo)) {
 		pt.send(dec.l3_mo) to vc_conn;
-	} else if (ispresent(dec.sndcp)) {
+	} else
+#endif
+	if (ispresent(dec.sndcp)) {
 		pt.send(dec.sndcp) to vc_conn;
 	} else if (ispresent(dec.llc)) {
 		pt.send(dec.llc) to vc_conn;