Fix ifdef fanout after last merge from master (#239)
Co-authored-by: Laurence Lundblade <lgl@securitytheory.com>
diff --git a/src/qcbor_encode.c b/src/qcbor_encode.c
index d196149..e54f03e 100644
--- a/src/qcbor_encode.c
+++ b/src/qcbor_encode.c
@@ -1330,6 +1330,7 @@
}
+#ifndef QCBOR_DISABLE_INDEFINITE_LENGTH_ARRAYS
/*
* Public functions for closing sorted maps. See qcbor/qcbor_encode.h
*/
@@ -1343,6 +1344,7 @@
QCBOREncode_Private_CloseMapOrArrayIndefiniteLength(pMe, CBOR_MAJOR_NONE_TYPE_MAP_INDEFINITE_LEN);
}
+#endif /* ! QCBOR_DISABLE_INDEFINITE_LENGTH_ARRAYS */
/*