neozeed ircu2.9.32-linux-hacks.diff

This commit is contained in:
2023-12-26 16:42:36 -05:00
parent ab64084f63
commit 51650c0d78
40 changed files with 718 additions and 720 deletions

30
include/setup.h Normal file
View File

@@ -0,0 +1,30 @@
#ifndef __setup_include__
#define __setup_include__
/* Fuck your build system and everything about it.
* Just edit this file instead of letting Config be dumb.
*/
#undef PARAMH
#define UNISTDH
#define STDLIBH
#define STDDEFH
#undef SYSSYSLOGH
#define NOINDEX
#undef NEED_STRERROR
#define NEED_STRTOKEN
#undef NEED_STRTOK
#undef NEED_INET_ADDR
#undef NEED_INET_NTOA
#undef NEED_INET_NETOF
/* This one doesn't even do anything?! */
#define GETTIMEOFDAY
/* If set, lrand48() is used over gettimeofday... And Config seems to make
* gettimeofday the *preferred* option.
* wat
*/
#undef LRAND48
#define MALLOCH <stdlib.h>
#define NBLOCK_POSIX
#define POSIX_SIGNALS
#undef TIMES_2
#define GETRUSAGE_2
#endif