2006-04-11 11:11:32 -04:00
|
|
|
$OpenBSD: patch-bitlbee_h,v 1.6 2006/04/11 15:11:33 naddy Exp $
|
2003-04-16 14:51:08 -04:00
|
|
|
Use a more usefull name for the server
|
2006-04-11 11:11:32 -04:00
|
|
|
--- bitlbee.h.orig Sun Apr 2 04:53:38 2006
|
|
|
|
+++ bitlbee.h Thu Apr 6 23:40:56 2006
|
|
|
|
@@ -69,7 +69,6 @@
|
|
|
|
#undef strndup
|
|
|
|
#define strndup __PLEASE_USE_THE_GLIB_STRDUP_FUNCTIONS_SYSTEM_INSTEAD__
|
|
|
|
#undef snprintf
|
|
|
|
-#define snprintf __PLEASE_USE_G_SNPRINTF_INSTEAD__
|
|
|
|
#undef strcasecmp
|
|
|
|
#define strcasecmp __PLEASE_USE_G_STRCASECMP_INSTEAD__
|
|
|
|
#undef strncasecmp
|
|
|
|
@@ -81,7 +80,7 @@
|
2003-04-16 14:51:08 -04:00
|
|
|
|
|
|
|
#define _( x ) x
|
|
|
|
|
|
|
|
-#define ROOT_NICK "root"
|
|
|
|
+#define ROOT_NICK "bitlbee"
|
2006-04-11 11:11:32 -04:00
|
|
|
#define ROOT_CHAN "&bitlbee"
|
2003-04-16 14:51:08 -04:00
|
|
|
#define ROOT_FN "User manager"
|
2003-10-16 11:00:17 -04:00
|
|
|
|
2006-04-11 11:11:32 -04:00
|
|
|
@@ -132,5 +131,12 @@ int bitlbee_save( irc_t *irc );
|
|
|
|
void bitlbee_shutdown( gpointer data );
|
2004-10-21 10:48:51 -04:00
|
|
|
|
2004-06-20 12:27:49 -04:00
|
|
|
extern global_t global;
|
2004-07-01 12:11:59 -04:00
|
|
|
+
|
2004-06-20 12:27:49 -04:00
|
|
|
+#define COMPILE_TIME_ASSERT(ex) do {\
|
|
|
|
+typedef char COMPILE_TIME_ASSERTION_FAILURE[(ex) ? 1 : -1];\
|
|
|
|
+} while(0)
|
|
|
|
+
|
|
|
|
+#define FILE_SCOPED_COMPILE_TIME_ASSERT(ex) \
|
|
|
|
+extern char COMPILE_TIME_ASSERTION_FAILURE[(ex) ? 1 : -1];
|
2004-07-01 12:11:59 -04:00
|
|
|
|
2004-06-20 12:27:49 -04:00
|
|
|
#endif
|