diff options
-rw-r--r-- | intern/cycles/kernel/kernel.cpp | 5 | ||||
-rw-r--r-- | source/blender/blenlib/intern/smallhash.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel.cpp b/intern/cycles/kernel/kernel.cpp index 3fe1e80890b..6cd14d3c51c 100644 --- a/intern/cycles/kernel/kernel.cpp +++ b/intern/cycles/kernel/kernel.cpp @@ -89,6 +89,11 @@ void kernel_tex_copy(KernelGlobals *kg, const char *name, device_ptr mem, size_t #define __KERNEL_SSE2__ #endif +/* quiet unused define warnings */ +#if defined(__KERNEL_SSE2__) + /* do nothing */ +#endif + /* Path Tracing */ void kernel_cpu_path_trace(KernelGlobals *kg, float *buffer, unsigned int *rng_state, int sample, int x, int y, int offset, int stride) diff --git a/source/blender/blenlib/intern/smallhash.c b/source/blender/blenlib/intern/smallhash.c index 38ebdc53f53..87ac1c4a620 100644 --- a/source/blender/blenlib/intern/smallhash.c +++ b/source/blender/blenlib/intern/smallhash.c @@ -50,6 +50,7 @@ #include <string.h> #include <stdlib.h> +#include <stdint.h> #include "MEM_guardedalloc.h" |