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 20:27:12 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-17 20:27:12 +0000 |
commit | a41f38c2e4c899c57643a9521dfdc2abfd608711 (patch) | |
tree | b8ba4b92100b1905fe4dc97ceca8b6f65e19d4d6 /src/tools/db-merger.c | |
parent | a0b268dab3ed358bb24f78389a6d7e21f0809102 (diff) |
avoiding indent breakage
git-svn-id: svn://svn.anope.org/anope/trunk@802 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@558 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/tools/db-merger.c')
-rw-r--r-- | src/tools/db-merger.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/db-merger.c b/src/tools/db-merger.c index 89ee72ea5..9116e9ac0 100644 --- a/src/tools/db-merger.c +++ b/src/tools/db-merger.c @@ -35,6 +35,27 @@ #include "sysconf.h" #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 + + /* CONFIGURATION BLOCK */ #define NICK_DB_1 "nick1.db" |