git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1642
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2006-04-06 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/ircd_snprintf.c: Use SIZEOF_LONG_LONG (which is 0 for
+ unknown types) instead of the never-defined HAVE_LONG_LONG.
+
2006-04-06 Michael Poole <mdpoole@troilus.org>
* doc/example.conf (IAuth): Update to reflect new syntax.
#include <time.h>
/* Inhibit complaints when we use GCC extensions */
-#if defined(__GNUC__) && defined(HAVE_LONG_LONG)
+#if defined(__GNUC__) && SIZEOF_LONG_LONG
# define EXTENSION __extension__
#else
/** Fallback (empty) definition of EXTENSION. */
#endif
/* Find the largest type */
-#ifdef HAVE_LONG_LONG
+#if SIZEOF_LONG_LONG
EXTENSION typedef long long _large_t;
EXTENSION typedef unsigned long long _ularge_t;
# define SIZEOF__LARGE_T SIZEOF_LONG_LONG