stlab.adobe.com Adobe Systems Incorporated
cstdint.hpp
Go to the documentation of this file.
1 /*
2  Copyright 2005-2007 Adobe Systems Incorporated
3  Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
4  or a copy at http://stlab.adobe.com/licenses.html)
5 */
6 
7 /*************************************************************************************************/
8 
9 #ifndef ADOBE_CSTDINT_HPP
10 #define ADOBE_CSTDINT_HPP
11 
12 #include <adobe/config.hpp>
13 
14 #include <boost/cstdint.hpp>
15 #include <boost/static_assert.hpp>
16 
17 #if BOOST_MSVC
18 #include <cstddef>
19 #endif
20 
21 /*************************************************************************************************/
22 
23 namespace adobe {
24 
31 /*************************************************************************************************/
32 
33 #if defined(BOOST_HAS_STDINT_H) || defined(BOOST_MSVC)
34 
37 
38 #else
39 
40 typedef long intptr_t;
41 typedef unsigned long uintptr_t;
42 
43 #endif
44 
45 BOOST_STATIC_ASSERT(!(sizeof(intptr_t) < sizeof(void*)));
46 BOOST_STATIC_ASSERT(!(sizeof(uintptr_t) < sizeof(void*)));
47 
49 /*************************************************************************************************/
50 } // namespace adobe
51 
52 /*************************************************************************************************/
53 
54 #endif
long intptr_t
Definition: cstdint.hpp:40
BOOST_STATIC_ASSERT(sizeof(closed_hash_set< int >)==sizeof(void *))
unsigned long uintptr_t
Definition: cstdint.hpp:41

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google