summary refs log tree commit diff stats
path: root/src/common/xchat.h
diff options
context:
space:
mode:
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)