diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-27 22:10:14 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-27 22:11:44 +0000 |
commit | 204d78aaa7b1cbfa98ef39f3961ad5fe428cf12b (patch) | |
tree | c0cec9127ce4741d65413c7d08da12a357f01bad /src | |
parent | 5f6125eb9f55aded7de223073c74529851b8615e (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 6 |
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 |