Commit 97d4c2f7 authored by hybrid's avatar hybrid

Fix compilation under Solaris.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2991 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f040a326
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#ifndef _SHA2_H #ifndef _SHA2_H
#define _SHA2_H #define _SHA2_H
#include <limits.h> #include "irrMath.h"
/* Defines for suffixes to 32 and 64 bit unsigned numeric values */ /* Defines for suffixes to 32 and 64 bit unsigned numeric values */
...@@ -71,7 +71,11 @@ ...@@ -71,7 +71,11 @@
#error Please define sha2_64t as an unsigned 64 bit type in sha2.h #error Please define sha2_64t as an unsigned 64 bit type in sha2.h
#endif #endif
#else #else
#ifdef _IRR_SOLARIS_PLATFORM_
#include <sys/int_types.h>
#else
#include <stdint.h> #include <stdint.h>
#endif
typedef int64_t sha2_64t; typedef int64_t sha2_64t;
#if __WORDSIZE==64 #if __WORDSIZE==64
#define s_u64 ul #define s_u64 ul
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment