summary refs log tree commit diff stats
path: root/src/common/xchat.h
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-06-03 12:06:06 +0200
committerBerke Viktor <berkeviktor@aol.com>2012-06-03 12:06:06 +0200
commit39422d5503281030d712c39af25317b5e3ece0fe (patch)
treea7cece0454b70cf22b3d01e452ac77e5776e48b6 /src/common/xchat.h
parent4f73128e9b71a786a57acac1aa0572e8ecefb915 (diff)
Initial Visual Studio solution
Diffstat (limited to 'src/common/xchat.h')
-rw-r--r--src/common/xchat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/xchat.h b/src/common/xchat.h
index 9db44c3f..b4e652c9 100644
--- a/src/common/xchat.h
+++ b/src/common/xchat.h
@@ -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)