diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-05 11:09:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-06 21:19:20 +0300 |
commit | f25f7c803020b9341e49e898abe94917c3235515 (patch) | |
tree | 17754b6b7f4d4037ba4cadb2a55657952c1aeb79 /intern/cycles/util/util_system.cpp | |
parent | 7623d3e071e6356ce4519073b1a29d984ba86cd9 (diff) |
Cycles: Re-implement some utilities to avoid use of boost
The title says it all actually, the idea is to make Cycles
only requiring Boost via 3rd party dependencies like OIIO
and OSL.
So now there are only few places which still uses Boost:
- Foreach, function bindings and threading primitives.
Those we can easily get rid with C++11 bump (which seems
inevitable sooner or later if we'll want ot use newer
LLVM for OSL),
- Networking devices
There's no quick solution for those currently, but there
are some patches around which improves serialization.
Reviewers: juicyfruit, mont29, campbellbarton, brecht, dingto
Reviewed By: brecht, dingto
Differential Revision: https://developer.blender.org/D1764
Diffstat (limited to 'intern/cycles/util/util_system.cpp')
-rw-r--r-- | intern/cycles/util/util_system.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/intern/cycles/util/util_system.cpp b/intern/cycles/util/util_system.cpp index 660c3e0c890..4ff0ee91d73 100644 --- a/intern/cycles/util/util_system.cpp +++ b/intern/cycles/util/util_system.cpp @@ -20,15 +20,15 @@ #include "util_string.h" #ifdef _WIN32 -#if(!defined(FREE_WINDOWS)) -#include <intrin.h> -#endif -#include <windows.h> +# if(!defined(FREE_WINDOWS)) +# include <intrin.h> +# endif +# include "util_windows.h" #elif defined(__APPLE__) -#include <sys/sysctl.h> -#include <sys/types.h> +# include <sys/sysctl.h> +# include <sys/types.h> #else -#include <unistd.h> +# include <unistd.h> #endif CCL_NAMESPACE_BEGIN |