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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-09-25 23:34:43 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-09-25 23:34:43 +0400
commit0929821590bf4e22447625ff9be0e38e4a74fede (patch)
tree5d939e79f337963f3df53ddfd990cf0dac1e8f74
parent4735fdc28082f41311a25524a01a7d7297f36db0 (diff)
Cycles: Accidentally inverted the logic of NDEBUG macro
-rw-r--r--intern/cycles/util/util_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/util/util_types.h b/intern/cycles/util/util_types.h
index 7b7e04ca941..b98ee6faa8e 100644
--- a/intern/cycles/util/util_types.h
+++ b/intern/cycles/util/util_types.h
@@ -33,7 +33,7 @@
#ifndef __KERNEL_GPU__
-# ifndef NDEBUG
+# ifdef NDEBUG
# define ccl_device static inline
# else
# define ccl_device static
@@ -45,7 +45,7 @@
#if defined(_WIN32) && !defined(FREE_WINDOWS)
-# ifndef NDEBUG
+# ifdef NDEBUG
# define ccl_device_inline static __forceinline
# else
# define ccl_device_inline static
@@ -58,7 +58,7 @@
#define ccl_try_align(...) /* not support for function arguments (error C2719) */
#endif
#define ccl_may_alias
-# ifndef NDEBUG
+# ifdef NDEBUG
# define ccl_always_inline __forceinline
# else
# define ccl_always_inline