Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-28 16:53:08 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-28 16:55:55 +0300
commit47953dee79202e1074ddfd0f85a2f5fa6a73d3dd (patch)
tree1c156c151279eeb23eb157af381bbb264f465949 /intern/cycles/util
parente58c6cf0c678849cf9c348a8df5e0ec24a6abd4d (diff)
Fix Linux build after Cryptomatte commit.
Diffstat (limited to 'intern/cycles/util')
-rw-r--r--intern/cycles/util/util_murmurhash.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/intern/cycles/util/util_murmurhash.cpp b/intern/cycles/util/util_murmurhash.cpp
index c1f81e61b72..68b2f2031be 100644
--- a/intern/cycles/util/util_murmurhash.cpp
+++ b/intern/cycles/util/util_murmurhash.cpp
@@ -21,20 +21,22 @@
*
*/
+#include <stdlib.h>
+#include <string.h>
+
#include "util/util_algorithm.h"
#include "util/util_murmurhash.h"
#if defined(_MSC_VER)
-# include <stdlib.h>
-# define ROTL32(x,y) _rotl(x,y)
-# define ROTL64(x,y) _rotl64(x,y)
+# define ROTL32(x,y) _rotl(x,y)
+# define ROTL64(x,y) _rotl64(x,y)
# define BIG_CONSTANT(x) (x)
#else
ccl_device_inline uint32_t rotl32(uint32_t x, int8_t r)
{
return (x << r) | (x >> (32 - r));
}
-# define ROTL32(x,y) rotl32(x,y)
+# define ROTL32(x,y) rotl32(x,y)
# define BIG_CONSTANT(x) (x##LLU)
#endif