mirror of https://gerrit.osmocom.org/asn1c
Removed __attribute__ since its not Windows compliant
This commit is contained in:
parent
d6a741287b
commit
8723dc7337
|
@ -103,8 +103,7 @@ static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
|
|||
* Check stack against overflow, if limit is set.
|
||||
*/
|
||||
#define ASN__DEFAULT_STACK_MAX (30000)
|
||||
static int __attribute__((unused))
|
||||
ASN__STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
|
||||
static int ASN__STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
|
||||
if(ctx && ctx->max_stack_size) {
|
||||
|
||||
/* ctx MUST be allocated on the stack */
|
||||
|
|
Loading…
Reference in New Issue