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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-27 00:37:04 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-27 00:37:04 +0400
commit42dc0dc5efce87d0dbe96ba7892136774db34746 (patch)
treecfa0e5fd7b64ae661cb2b5908627a89fc568f32e /source/blender/blenlib/BLI_endian_switch.h
parent5393922d1dd61720d3fc85fb04001749f366b765 (diff)
Fix #33226: error loading .blend files with different endian on Mac. The cause
was wrong inline and pure attributes on the endian switch function.
Diffstat (limited to 'source/blender/blenlib/BLI_endian_switch.h')
-rw-r--r--source/blender/blenlib/BLI_endian_switch.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_endian_switch.h b/source/blender/blenlib/BLI_endian_switch.h
index 7cb2790525d..f48b1b072c3 100644
--- a/source/blender/blenlib/BLI_endian_switch.h
+++ b/source/blender/blenlib/BLI_endian_switch.h
@@ -29,8 +29,7 @@
#ifdef __GNUC__
# define ATTR_ENDIAN_SWITCH \
- __attribute__((nonnull(1))) \
- __attribute__((pure))
+ __attribute__((nonnull(1)))
#else
# define ATTR_ENDIAN_SWITCH
#endif