/[pcsx2_0.9.7]/trunk/3rdparty/google/sparsehash/sparseconfig.h
ViewVC logotype

Contents of /trunk/3rdparty/google/sparsehash/sparseconfig.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 4 months ago) by william
File MIME type: text/plain
File size: 2165 byte(s)
exported r3113 from ./upstream/trunk
1 #ifndef SPARSEHASH_SPARSECONFIG_H__
2 #define SPARSEHASH_SPARSECONFIG_H__
3
4 // [AIR] : I couldn't make the google "windows" folder concept work.
5 // This does, and we only care of GCC and MSVC right now anyway.
6
7 #if defined( _MSC_VER )
8
9 #define GOOGLE_NAMESPACE google
10 #define HASH_NAMESPACE stdext
11 #define HASH_FUN_H <hash_map>
12 #define SPARSEHASH_HASH HASH_NAMESPACE::hash_compare
13 #undef HAVE_UINT16_T
14 #undef HAVE_U_INT16_T
15 #define HAVE___UINT16 1
16 #define HAVE_LONG_LONG 1
17 #define HAVE_SYS_TYPES_H 1
18 #undef HAVE_STDINT_H
19 #undef HAVE_INTTYPES_H
20 #define HAVE_MEMCPY 1
21 #define STL_NAMESPACE std
22 #define _END_GOOGLE_NAMESPACE_ }
23 #define _START_GOOGLE_NAMESPACE_ namespace GOOGLE_NAMESPACE {
24
25 #else //if defined( GNUC )
26
27 /* Namespace for Google classes */
28 #define GOOGLE_NAMESPACE google
29
30 /* the location of <hash_fun.h>/<stl_hash_fun.h> */
31 #define HASH_FUN_H <backward/hash_fun.h>
32
33 /* the namespace of hash_map/hash_set */
34 #define HASH_NAMESPACE __gnu_cxx
35
36 /* Define to 1 if you have the <inttypes.h> header file. */
37 #define HAVE_INTTYPES_H 1
38
39 /* Define to 1 if the system has the type `long long'. */
40 #define HAVE_LONG_LONG 1
41
42 /* Define to 1 if you have the `memcpy' function. */
43 #define HAVE_MEMCPY 1
44
45 /* Define to 1 if you have the <stdint.h> header file. */
46 #define HAVE_STDINT_H 1
47
48 /* Define to 1 if you have the <sys/types.h> header file. */
49 #define HAVE_SYS_TYPES_H 1
50
51 /* Define to 1 if the system has the type `uint16_t'. */
52 #define HAVE_UINT16_T 1
53
54 /* Define to 1 if the system has the type `u_int16_t'. */
55 #define HAVE_U_INT16_T 1
56
57 /* Define to 1 if the system has the type `__uint16'. */
58 /* #undef HAVE___UINT16 */
59
60 /* The system-provided hash function including the namespace. */
61 #define SPARSEHASH_HASH HASH_NAMESPACE::hash
62
63 /* the namespace where STL code like vector<> is defined */
64 #define STL_NAMESPACE std
65
66 /* Stops putting the code inside the Google namespace */
67 #define _END_GOOGLE_NAMESPACE_ }
68
69 /* Puts following code inside the Google namespace */
70 #define _START_GOOGLE_NAMESPACE_ namespace google {
71
72 #endif
73
74 #endif

  ViewVC Help
Powered by ViewVC 1.1.22