[Bf-blender-cvs] [f4b36786462] master: Atomics: Use system headers directly, without bad level dependency to BLI
Sergey Sharybin
noreply at git.blender.org
Mon Aug 28 11:07:03 CEST 2017
Commit: f4b36786462e52bc914a1cdc182b7e25da081dd0
Author: Sergey Sharybin
Date: Mon Aug 28 11:06:15 2017 +0200
Branches: master
https://developer.blender.org/rBf4b36786462e52bc914a1cdc182b7e25da081dd0
Atomics: Use system headers directly, without bad level dependency to BLI
This will make it easier to re-use library as-is in other projects,
such as Cycles standalone repo for example.
===================================================================
M intern/atomic/intern/atomic_ops_utils.h
===================================================================
diff --git a/intern/atomic/intern/atomic_ops_utils.h b/intern/atomic/intern/atomic_ops_utils.h
index fa8f39b4e81..c190b655e0a 100644
--- a/intern/atomic/intern/atomic_ops_utils.h
+++ b/intern/atomic/intern/atomic_ops_utils.h
@@ -52,8 +52,8 @@
#ifndef __ATOMIC_OPS_UTILS_H__
#define __ATOMIC_OPS_UTILS_H__
-/* needed for int types */
-#include "../../../source/blender/blenlib/BLI_sys_types.h"
+#include <stdint.h>
+#include <stddef.h>
#include <stdlib.h>
#include <limits.h>
More information about the Bf-blender-cvs
mailing list