//$ ER(09/07/01) : this file has been totaly reviewed. The previous MAXSOCKS, MAXSOCKSE and VERSION_NAME constant
//				    have been turned into variables that are initialised in the scolsys.c testLicense function.
//$ ER(09/07/01) : add the three following lines
//
//$ LB(30/05/2002) : add CLUBHOUSE_SERVER in order to make the server accept an unlimited number of connection, 
//                   and in order not to make it launch a supervisor.
//
// $ LB (31/01/2005) : débridage de scol pour open source
//

#include "scolPrerequisites.h"
#ifdef __cplusplus
extern "C" {
#endif


#define VERSION_WIN 1

//#define VERSION_X11 1
//#define VERSION_NOX 1
//#define VERSION_MAC 1

#define VERSION_N (2025)
#define MAXSOCKSU 500

#define SE_P10
#define PREFSE "5.4"
#define SUFFSE ".10"

//$BLG: v4.6a7 - Add
//Last compilation date: as per the time() C and Scol functions - Seconds since 1st of January 1970
#define VERSION_D ((time_t)0xccb2fe78)

//$ LB (31/01/2005)
#define SCOL_FREE

//$ LB (31/01/2005) : p10 becomes server
#define SERVER   // commenter pour un P10

//$ LB (30/05/2002) : add CLUBHOUSE_SERVER in order to make the server accept an unlimited number of connections
//#define CLUBHOUSE_SERVER //uncomment to compile a ClubHouse server


#ifdef SERVER
extern short MUTUALISE;
extern short Debut,Periode;
#define KEY1 "7909e"
#define KEY3 "44dfc"
// $ LB (26/07/2002)
#define VERSION_NAME PREFSE""SUFFSE

#else

//$LB (31/01/2005) #define VERSION_NAME PREFSE"p10"SUFFSE
#define VERSION_NAME PREFSE""SUFFSE


#endif

extern int MAXSOCKS;
extern int MAXSOCKSE;
extern int maxsock;

/*
 * platform specific
 */

#if SCOL_PLATFORM != SCOL_PLATFORM_WINDOWS
#	define stricmp strcasecmp
#	define strnicmp strncasecmp
#endif

//$ ER(09/07/01) : add following lines
#ifdef __cplusplus
}
#endif
 
