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:
Diffstat (limited to 'source/blender/blenloader/BLO_sys_types.h')
-rw-r--r--source/blender/blenloader/BLO_sys_types.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/blenloader/BLO_sys_types.h b/source/blender/blenloader/BLO_sys_types.h
index 41e33eb2a05..4e76481c394 100644
--- a/source/blender/blenloader/BLO_sys_types.h
+++ b/source/blender/blenloader/BLO_sys_types.h
@@ -53,12 +53,12 @@ extern "C" {
* need to include anything else here. */
-typedef signed __int8 int8_t;
+typedef signed __int8 int8_t;
typedef signed __int16 int16_t;
typedef signed __int32 int32_t;
typedef signed __int64 int64_t;
-typedef unsigned __int8 uint8_t;
+typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
@@ -83,19 +83,19 @@ typedef unsigned long uintptr_t;
#elif defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__)
- /* Linux-i386, Linux-Alpha, Linux-ppc */
+/* Linux-i386, Linux-Alpha, Linux-ppc */
#include <stdint.h>
/* XXX */
#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;
+# 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
-#elif defined (__APPLE__)
+#elif defined(__APPLE__)
#include <inttypes.h>
@@ -108,7 +108,7 @@ unsigned long __attribute__((__stdcall__)) htonl(unsigned long);
#else
- /* FreeBSD, Solaris */
+/* FreeBSD, Solaris */
#include <sys/types.h>
#endif /* ifdef platform for types */
@@ -123,9 +123,9 @@ unsigned long __attribute__((__stdcall__)) htonl(unsigned long);
#define ntohl(x) correctByteOrder(x)
#endif
#endif
-#elif defined (__FreeBSD__) || defined (__OpenBSD__)
+#elif defined(__FreeBSD__) || defined(__OpenBSD__)
#include <sys/param.h>
-#elif defined (__APPLE__)
+#elif defined(__APPLE__)
#include <sys/types.h>
#else /* sun linux */
#include <netinet/in.h>