Selaa lähdekoodia

Correct NORADIUS compilarion support

z3APA3A 5 vuotta sitten
vanhempi
sitoutus
3e35fdd054
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      src/log.c

+ 4 - 1
src/log.c

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