Correct NORADIUS compilarion support

This commit is contained in:
z3APA3A 2020-10-30 14:59:16 +03:00
parent 0f560a4725
commit 3e35fdd054

View File

@ -57,10 +57,13 @@ void logpush(struct logevent *evt);
#define HAVERADIUS 0 #define HAVERADIUS 0
#define HAVESQL 0 #define HAVESQL 0
#else #else
#ifndef NORADIUS
int raddobuf(struct clientparam * param, unsigned char * buf, int bufsize, const unsigned char *s); int raddobuf(struct clientparam * param, unsigned char * buf, int bufsize, const unsigned char *s);
void logradius(const char * buf, int len, struct LOGGER *logger); void logradius(const char * buf, int len, struct LOGGER *logger);
#define HAVERADIUS 1 #define HAVERADIUS 1
#else
#define HAVERADIUS 0
#endif
#ifndef NOODBC #ifndef NOODBC
#define HAVESQL 1 #define HAVESQL 1
static int sqlinit(struct LOGGER *logger); static int sqlinit(struct LOGGER *logger);