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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/blenlib/BLI_sys_types.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/blenlib/BLI_sys_types.h')
-rw-r--r--source/blender/blenlib/BLI_sys_types.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/source/blender/blenlib/BLI_sys_types.h b/source/blender/blenlib/BLI_sys_types.h
index e2ad1949daa..a82e6a562e0 100644
--- a/source/blender/blenlib/BLI_sys_types.h
+++ b/source/blender/blenlib/BLI_sys_types.h
@@ -38,39 +38,38 @@
extern "C" {
#endif
-#if defined(__linux__) || defined(__GNU__) || \
- defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__) || \
- defined(__HAIKU__)
+#if defined(__linux__) || defined(__GNU__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
+ defined(__FreeBSD_kernel__) || defined(__HAIKU__)
/* Linux-i386, Linux-Alpha, Linux-ppc */
-#include <stdint.h>
+# include <stdint.h>
/* XXX */
-#ifndef UINT64_MAX
-# define UINT64_MAX 18446744073709551615
+# ifndef UINT64_MAX
+# define UINT64_MAX 18446744073709551615
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
-#endif
+# endif
#elif defined(__APPLE__)
-#include <inttypes.h>
+# include <inttypes.h>
/* MSVC >= 2010 */
#elif defined(_MSC_VER)
-#include <stdint.h>
+# include <stdint.h>
#else
/* FreeBSD, Solaris */
-#include <sys/types.h>
-#include <stdint.h>
+# include <sys/types.h>
+# include <stdint.h>
#endif /* ifdef platform for types */
-#include <stddef.h> /* size_t define */
+#include <stddef.h> /* size_t define */
#include <stdbool.h>
typedef unsigned int uint;