From 8f7f9a1ef8bfa4b685b7d7f993960b38ca8106ee Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 12 Jul 2018 15:16:39 +0200 Subject: [PATCH] Fix build on some Solaris installations --- ph7.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ph7.h b/ph7.h index 6c172b6..e98b3bf 100644 --- a/ph7.h +++ b/ph7.h @@ -193,6 +193,10 @@ typedef unsigned __int64 sxu64; /* 64 bits(8 bytes) unsigned int64 */ typedef signed long long int sxi64; /* 64 bits(8 bytes) signed int64 */ typedef unsigned long long int sxu64; /* 64 bits(8 bytes) unsigned int64 */ #endif /* _MSC_VER */ +/* Solaris additions */ +#ifndef MAP_FILE +#define MAP_FILE 0 +#endif /* Signature of the consumer routine */ typedef int (*ProcConsumer)(const void *,unsigned int,void *); /* Forward reference */