Initial Visual Studio solution

This commit is contained in:
Berke Viktor
2012-06-03 12:06:06 +02:00
parent 4f73128e9b
commit 39422d5503
19 changed files with 1303 additions and 8 deletions

View File

@@ -8,7 +8,6 @@
#include "history.h"
#ifndef ENABLE_NLS
#ifndef HAVE_SNPRINTF
#define snprintf g_snprintf
#endif
@@ -16,7 +15,6 @@
#ifndef HAVE_VSNPRINTF
#define vsnprintf _vsnprintf
#endif
#endif
#ifdef USE_DEBUG
#define malloc(n) xchat_malloc(n, __FILE__, __LINE__)
@@ -79,6 +77,10 @@ void *xchat_realloc (char *old, int len, char *file, int line);
#define USERNAMELEN 10
#define HIDDEN_CHAR 8 /* invisible character for xtext */
#ifdef __cplusplus
#define asdfasdf
#endif
#if defined(ENABLE_NLS) && !defined(_)
# include <libintl.h>
# define _(x) gettext(x)