1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 01:53:13 +02:00

Remove some obsolete header and function checks.

This commit is contained in:
Sadie Powell
2022-01-03 23:32:53 +00:00
parent c1f6a79c72
commit c6c9d9591c
4 changed files with 2 additions and 36 deletions
+2
View File
@@ -31,6 +31,8 @@
#endif
/* Pull in the various bits of STL */
#include <cstdint>
#include <cstddef>
#include <iostream>
#include <fstream>
#include <sstream>
-16
View File
@@ -4,10 +4,6 @@
#cmakedefine DEBUG_BUILD
#cmakedefine DEFUMASK @DEFUMASK@
#cmakedefine HAVE_CSTDINT 1
#cmakedefine HAVE_STDDEF_H 1
#cmakedefine HAVE_STRCASECMP 1
#cmakedefine HAVE_STRICMP 1
#cmakedefine HAVE_STRINGS_H 1
#cmakedefine HAVE_UMASK 1
#cmakedefine HAVE_EVENTFD 1
@@ -15,15 +11,6 @@
#cmakedefine HAVE_POLL 1
#cmakedefine GETTEXT_FOUND 1
#ifdef HAVE_CSTDINT
# include <cstdint>
#else
# include <stdint.h>
#endif
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
#ifdef _WIN32
# define popen _popen
# define pclose _pclose
@@ -33,9 +20,6 @@
# endif
# define MAXPATHLEN MAX_PATH
# define bzero(buf, size) memset(buf, 0, size)
# ifdef MSVCPP
# define strcasecmp stricmp
# endif
# define sleep(x) Sleep(x * 1000)
#endif