1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 13:43:12 +02:00

Hopefully fixed the last of the alloca warnings

This commit is contained in:
codemastr
2005-01-17 20:41:27 +00:00
parent 107456853e
commit b9a516d664
2 changed files with 15 additions and 14 deletions
+1
View File
@@ -533,3 +533,4 @@
- Fixed a problem where doing ./unreal restart multiple times would not actually restart
the ircd (#0002120) reported by SineSwiper.
- Made it so +f notices are sent to %#chan, not @%#chan (#0002248) reported by aquanight.
- Hopefully fixed the last of the alloca warnings (#0002202) reported by Stoebi.
+14 -14
View File
@@ -24,21 +24,21 @@
/* alloca stuff */
#ifdef _WIN32
#include <malloc.h>
#define alloca _alloca
#else
# if defined(__GNUC__) && !defined(alloca)
# define alloca __builtin_alloca
# else
# if HAVE_ALLOCA_H
# include <malloc.h>
# define alloca _alloca
#else /* _WIN32 */
# ifdef HAVE_ALLOCA
# if defined(_AIX) && !defined(__GNUC__)
#pragma alloca
# endif /* _AIX */
# if defined(HAVE_ALLOCA_H)
# include <alloca.h>
# else
# ifdef _AIX
#pragma alloca
# endif
# endif
# endif
#endif
# endif /* HAVE_ALLOCA_H */
# if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && !defined(alloca)
# define alloca __builtin_alloca
# endif /* __GNUC__ */
# endif /* HAVE_ALLOCA */
#endif /* !_WIN32 */
#ifdef ISC202
#include <net/errno.h>