~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/detail/endian.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2005 Caleb Epstein
 
2
// Copyright 2006 John Maddock
 
3
// Copyright 2010 Rene Rivera
 
4
// Distributed under the Boost Software License, Version 1.0. (See accompany-
 
5
// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
6
 
1
7
/*
2
8
 * Copyright (c) 1997
3
9
 * Silicon Graphics Computer Systems, Inc.
37
43
#  error Unknown machine endianness detected.
38
44
# endif
39
45
# define BOOST_BYTE_ORDER __BYTE_ORDER
 
46
#elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN) || \
 
47
    defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
 
48
# define BOOST_BIG_ENDIAN
 
49
# define BOOST_BYTE_ORDER 4321
 
50
#elif defined(_LITTLE_ENDIAN) && !defined(_BIG_ENDIAN) || \
 
51
    defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)
 
52
# define BOOST_LITTLE_ENDIAN
 
53
# define BOOST_BYTE_ORDER 1234
40
54
#elif defined(__sparc) || defined(__sparc__) \
41
55
   || defined(_POWER) || defined(__powerpc__) \
42
 
   || defined(__ppc__) || defined(__hppa) \
 
56
   || defined(__ppc__) || defined(__hpux) || defined(__hppa) \
43
57
   || defined(_MIPSEB) || defined(_POWER) \
44
58
   || defined(__s390__)
45
59
# define BOOST_BIG_ENDIAN