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

@@ -32,7 +32,7 @@
#include <sys/timeb.h>
#include <process.h>
#include <io.h>
#include "dirent-win32.h"
#include "../dirent-win32/dirent-win32.h"
#else
#include <unistd.h>
#include <pwd.h>
@@ -57,11 +57,9 @@
#include <socks.h>
#endif
#ifndef ENABLE_NLS
#ifndef HAVE_SNPRINTF
#define snprintf g_snprintf
#endif
#endif
#ifdef USE_DEBUG

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)

View File

@@ -106,7 +106,7 @@ custom_list_sortable_init (GtkTreeSortableIface * iface)
*
*****************************************************************************/
static GType
GType
custom_list_get_type (void)
{
static GType custom_list_type = 0;

View File

@@ -2,8 +2,6 @@
#include "../../config.h"
#include "../../resource.h"
1 24 "xchat.exe.manifest"
XC_ICON ICON "../../xchat.ico"
VS_VERSION_INFO VERSIONINFO