[Bf-blender-cvs] [d3de9c6] soc-2014-viewport_fx: Revert "BLI_restrict macro to help the compiler optimize functions that do not allow pointer aliasing."
Jason Wilkins
noreply at git.blender.org
Fri Jun 27 05:45:22 CEST 2014
Commit: d3de9c621e68effe7e64e44790bc62aa2f8fc010
Author: Jason Wilkins
Date: Thu Jun 26 21:43:49 2014 -0500
https://developer.blender.org/rBd3de9c621e68effe7e64e44790bc62aa2f8fc010
Revert "BLI_restrict macro to help the compiler optimize functions that do not allow pointer aliasing."
This reverts commit 9e402f8866794eadd49e5a024bed532ab6cf7b19.
===================================================================
M source/blender/blenlib/BLI_utildefines.h
===================================================================
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index 454546a..f164b55 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -500,18 +500,4 @@
# define UNLIKELY(x) (x)
#endif
-/* Are restricted pointers available? (C99) */
-#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
- /* Not a C99 compiler */
-# ifdef __GNUC__
-# define BLI_restrict __restrict__
-# elif defined(_MSC_VER) && _MSC_VER >= 1400
-# define BLI_restrict __restrict
-# else
-# define BLI_restrict
-# endif
-#else
-# define BLI_restrict restrict
-#endif
-
#endif /* __BLI_UTILDEFINES_H__ */
More information about the Bf-blender-cvs
mailing list