summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-27 22:10:14 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-27 22:11:44 +0000
commit204d78aaa7b1cbfa98ef39f3961ad5fe428cf12b (patch)
treec0cec9127ce4741d65413c7d08da12a357f01bad
parent5f6125eb9f55aded7de223073c74529851b8615e (diff)
Assume that RUSAGE_SELF is always defined.
This was added for Red Hat 7 which was released in 2000(!) which nobody should be using anymore.
-rw-r--r--src/inspircd.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index d7b616ecc..0068a6fee 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -35,12 +35,6 @@
#include <sys/resource.h>
#include <dlfcn.h>
#include <getopt.h>
-
- /* Some systems don't define RUSAGE_SELF. This should fix them. */
- #ifndef RUSAGE_SELF
- #define RUSAGE_SELF 0
- #endif
-
#include <pwd.h> // setuid
#include <grp.h> // setgid
#else