Moved MAX_RECV_LEN into config.h
This commit is contained in:
parent
a8c7a04cfe
commit
edf1ea0a59
@ -21,6 +21,7 @@ if test "$enable_memcached" = "yes"; then
|
||||
fi
|
||||
|
||||
AC_DEFINE([DEFAULT_PORT], [4000], [The default port number if not specified in the config file])
|
||||
AC_DEFINE([MAX_RECV_LEN], [1024])
|
||||
|
||||
PKG_CHECK_MODULES([GIO], gio-2.0)
|
||||
PKG_CHECK_MODULES([GLIB], glib-2.0)
|
||||
|
@ -10,8 +10,6 @@
|
||||
#include "interpreter.h"
|
||||
#include "db.h"
|
||||
|
||||
#define MAX_RECV_LEN 1024
|
||||
|
||||
struct {
|
||||
char *file;
|
||||
int line;
|
||||
|
@ -3,14 +3,16 @@
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#include "main.h"
|
||||
#include "networking.h"
|
||||
#include "interpreter.h"
|
||||
#include "players.h"
|
||||
#include "db.h"
|
||||
|
||||
#define MAX_RECV_LEN 1024
|
||||
|
||||
struct AcceptData {
|
||||
GMainContext *context;
|
||||
GSocketListener *listener;
|
||||
|
Loading…
Reference in New Issue
Block a user