diff options
| author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-17 18:01:26 +0000 |
|---|---|---|
| committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-17 18:01:26 +0000 |
| commit | 296c1d8a5a948d5ae6756d7b55b16c64f56cf4c3 (patch) | |
| tree | 45af5924f4065cbbd5764aff9d0a4428f32eaac1 /include | |
| parent | b3ad96ad3c29a3bd904bc83dd3b92fe0ed52f2a1 (diff) | |
BUILD : 1.7.9 (797) BUGS : N/A NOTES : Applied some nicities for sun boxs
git-svn-id: svn://svn.anope.org/anope/trunk@797 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@556 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/services.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h index c030e7e69..e3c350217 100644 --- a/include/services.h +++ b/include/services.h @@ -33,6 +33,27 @@ # define int32 builtin_int32 #endif +/* Some SUN fixs */ +#ifdef __sun +/* Solaris specific code, types that do not exist in Solaris' + * sys/types.h + **/ +#undef u_int8_t +#undef u_int16_t +#undef u_int32_t +#undef u_int_64_t +#define u_int8_t uint8_t +#define u_int16_t uint16_t +#define u_int32_t uint32_t +#define u_int64_t uint64_t + +#ifndef INADDR_NONE +#define INADDR_NONE (-1) +#endif + +#endif + + #include <stdarg.h> #include <stdio.h> #include <stdlib.h> |
