Fix build on some Solaris installations

This commit is contained in:
Rafal Kupiec 2018-07-12 15:16:39 +02:00
parent f3152333d6
commit 8f7f9a1ef8
1 changed files with 4 additions and 0 deletions

4
ph7.h
View File

@ -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 signed long long int sxi64; /* 64 bits(8 bytes) signed int64 */
typedef unsigned long long int sxu64; /* 64 bits(8 bytes) unsigned int64 */ typedef unsigned long long int sxu64; /* 64 bits(8 bytes) unsigned int64 */
#endif /* _MSC_VER */ #endif /* _MSC_VER */
/* Solaris additions */
#ifndef MAP_FILE
#define MAP_FILE 0
#endif
/* Signature of the consumer routine */ /* Signature of the consumer routine */
typedef int (*ProcConsumer)(const void *,unsigned int,void *); typedef int (*ProcConsumer)(const void *,unsigned int,void *);
/* Forward reference */ /* Forward reference */