mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
- big fight to get libircclient compiled in VC++ but we won the battle (requires new win32 deps.. NOT ming deps)
This commit is contained in:
@@ -16,12 +16,6 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <libircclient/libircclient.h>
|
||||
#else
|
||||
#include "libircclient.h"
|
||||
#endif
|
||||
|
||||
#include "leak_dumper.h"
|
||||
|
||||
using namespace std;
|
||||
@@ -41,7 +35,6 @@ class IRCThread : public BaseThread
|
||||
{
|
||||
protected:
|
||||
std::vector<string> argv;
|
||||
irc_session_t *ircSession;
|
||||
|
||||
public:
|
||||
IRCThread(const std::vector<string> &argv,IRCCallbackInterface *callbackObj);
|
||||
|
@@ -14,21 +14,29 @@
|
||||
#include "util.h"
|
||||
#include "platform_common.h"
|
||||
|
||||
using namespace Shared::Util;
|
||||
using namespace Shared::PlatformCommon;
|
||||
|
||||
namespace Shared { namespace PlatformCommon {
|
||||
|
||||
#ifndef WIN32
|
||||
#include <libircclient/libircclient.h>
|
||||
#else
|
||||
#include "libircclient.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
irc_session_t *ircSession;
|
||||
|
||||
using namespace Shared::Util;
|
||||
using namespace Shared::PlatformCommon;
|
||||
|
||||
namespace Shared { namespace PlatformCommon {
|
||||
|
||||
IRCCallbackInterface *IRCThread::callbackObj=NULL;
|
||||
std::vector<string> IRCThread::eventData;
|
||||
bool IRCThread::eventDataDone = false;
|
||||
bool IRCThread::isConnected = false;
|
||||
|
||||
//
|
||||
// We store data in IRC session context.
|
||||
//
|
||||
|
Reference in New Issue
Block a user