80d776e9603074833b67b42fc06f604911e77f5f
[scp/ocu/5gnr.git] / Include / config.h
1 /******************************************************************************
2 ###############################################################################
3 #   Copyright (c) [2017-2020] [ICT/CAS]                                        #
4 #   Licensed under the ORAN Software License v1.0 (License)             #
5 ###############################################################################
6 ******************************************************************************/
7
8 extern int opt_debug;
9
10 #define ASN_DEBUG(fmt, args...) do {            \
11                 if(opt_debug < 2) break;        \
12                 fprintf(stderr, fmt, ##args);   \
13                 fprintf(stderr, " (%s:%d)\n",   \
14                         __FILE__, __LINE__);    \
15         } while(0)
16