Skip to content

Commit feed8d9

Browse files
committed
Bundle protobuf
1 parent 4856e36 commit feed8d9

File tree

92 files changed

+61181
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+61181
-0
lines changed

protobuf/LICENSE

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Copyright 2008, Google Inc.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above
11+
copyright notice, this list of conditions and the following disclaimer
12+
in the documentation and/or other materials provided with the
13+
distribution.
14+
* Neither the name of Google Inc. nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
30+
Code generated by the Protocol Buffer compiler is owned by the owner
31+
of the input file used when generating it. This code is not
32+
standalone and requires a support library to be linked with it. This
33+
support library is itself covered by the above license.

protobuf/config_unix/config.h

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
/* config.h. Generated from config.h.in by configure. */
2+
/* config.h.in. Generated from configure.ac by autoheader. */
3+
4+
/* the name of <hash_map> */
5+
#define HASH_MAP_CLASS unordered_map
6+
7+
/* the location of <unordered_map> or <hash_map> */
8+
#define HASH_MAP_H <unordered_map>
9+
10+
/* the namespace of hash_map/hash_set */
11+
#define HASH_NAMESPACE std
12+
13+
/* the name of <hash_set> */
14+
#define HASH_SET_CLASS unordered_set
15+
16+
/* the location of <unordered_set> or <hash_set> */
17+
#define HASH_SET_H <unordered_set>
18+
19+
/* Define to 1 if you have the <dlfcn.h> header file. */
20+
#define HAVE_DLFCN_H 1
21+
22+
/* Define to 1 if you have the <fcntl.h> header file. */
23+
#define HAVE_FCNTL_H 1
24+
25+
/* Define to 1 if you have the `ftruncate' function. */
26+
#define HAVE_FTRUNCATE 1
27+
28+
/* define if the compiler has hash_map */
29+
#define HAVE_HASH_MAP 1
30+
31+
/* define if the compiler has hash_set */
32+
#define HAVE_HASH_SET 1
33+
34+
/* Define to 1 if you have the <inttypes.h> header file. */
35+
#define HAVE_INTTYPES_H 1
36+
37+
/* Define to 1 if you have the <limits.h> header file. */
38+
#define HAVE_LIMITS_H 1
39+
40+
/* Define to 1 if you have the <memory.h> header file. */
41+
#define HAVE_MEMORY_H 1
42+
43+
/* Define to 1 if you have the `memset' function. */
44+
#define HAVE_MEMSET 1
45+
46+
/* Define to 1 if you have the `mkdir' function. */
47+
#define HAVE_MKDIR 1
48+
49+
/* Define if you have POSIX threads libraries and header files. */
50+
#define HAVE_PTHREAD 1
51+
52+
/* Define to 1 if you have the <stdint.h> header file. */
53+
#define HAVE_STDINT_H 1
54+
55+
/* Define to 1 if you have the <stdlib.h> header file. */
56+
#define HAVE_STDLIB_H 1
57+
58+
/* Define to 1 if you have the `strchr' function. */
59+
#define HAVE_STRCHR 1
60+
61+
/* Define to 1 if you have the `strerror' function. */
62+
#define HAVE_STRERROR 1
63+
64+
/* Define to 1 if you have the <strings.h> header file. */
65+
#define HAVE_STRINGS_H 1
66+
67+
/* Define to 1 if you have the <string.h> header file. */
68+
#define HAVE_STRING_H 1
69+
70+
/* Define to 1 if you have the `strtol' function. */
71+
#define HAVE_STRTOL 1
72+
73+
/* Define to 1 if you have the <sys/stat.h> header file. */
74+
#define HAVE_SYS_STAT_H 1
75+
76+
/* Define to 1 if you have the <sys/types.h> header file. */
77+
#define HAVE_SYS_TYPES_H 1
78+
79+
/* Define to 1 if you have the <unistd.h> header file. */
80+
#define HAVE_UNISTD_H 1
81+
82+
/* Enable classes using zlib compression. */
83+
/* #undef HAVE_ZLIB */
84+
85+
/* Define to the sub-directory in which libtool stores uninstalled libraries.
86+
*/
87+
#define LT_OBJDIR ".libs/"
88+
89+
/* Name of package */
90+
#define PACKAGE "protobuf"
91+
92+
/* Define to the address where bug reports for this package should be sent. */
93+
#define PACKAGE_BUGREPORT "[email protected]"
94+
95+
/* Define to the full name of this package. */
96+
#define PACKAGE_NAME "Protocol Buffers"
97+
98+
/* Define to the full name and version of this package. */
99+
#define PACKAGE_STRING "Protocol Buffers 2.6.1"
100+
101+
/* Define to the one symbol short name of this package. */
102+
#define PACKAGE_TARNAME "protobuf"
103+
104+
/* Define to the home page for this package. */
105+
#define PACKAGE_URL ""
106+
107+
/* Define to the version of this package. */
108+
#define PACKAGE_VERSION "2.6.1"
109+
110+
/* Define to necessary symbol if this constant uses a non-standard name on
111+
your system. */
112+
/* #undef PTHREAD_CREATE_JOINABLE */
113+
114+
/* 64bit enabled */
115+
/* #undef SOLARIS_64BIT_ENABLED */
116+
117+
/* Define to 1 if you have the ANSI C header files. */
118+
#define STDC_HEADERS 1
119+
120+
/* Enable extensions on AIX 3, Interix. */
121+
#ifndef _ALL_SOURCE
122+
# define _ALL_SOURCE 1
123+
#endif
124+
/* Enable GNU extensions on systems that have them. */
125+
#ifndef _GNU_SOURCE
126+
# define _GNU_SOURCE 1
127+
#endif
128+
/* Enable threading extensions on Solaris. */
129+
#ifndef _POSIX_PTHREAD_SEMANTICS
130+
# define _POSIX_PTHREAD_SEMANTICS 1
131+
#endif
132+
/* Enable extensions on HP NonStop. */
133+
#ifndef _TANDEM_SOURCE
134+
# define _TANDEM_SOURCE 1
135+
#endif
136+
/* Enable general extensions on Solaris. */
137+
#ifndef __EXTENSIONS__
138+
# define __EXTENSIONS__ 1
139+
#endif
140+
141+
142+
/* Version number of package */
143+
#define VERSION "2.6.1"
144+
145+
/* Define to 1 if on MINIX. */
146+
/* #undef _MINIX */
147+
148+
/* Define to 2 if the system does not provide POSIX.1 features except with
149+
this defined. */
150+
/* #undef _POSIX_1_SOURCE */
151+
152+
/* Define to 1 if you need to in order for `stat' and other things to work. */
153+
/* #undef _POSIX_SOURCE */

protobuf/config_win/config.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* protobuf config.h for MSVC. On other platforms, this is generated
2+
* automatically by autoheader / autoconf / configure. */
3+
4+
/* the location of <hash_map> */
5+
#define HASH_MAP_H <hash_map>
6+
7+
/* the namespace of hash_map/hash_set */
8+
// Apparently Microsoft decided to move hash_map *back* to the std namespace
9+
// in MSVC 2010:
10+
// http://blogs.msdn.com/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx
11+
// TODO(kenton): Use unordered_map instead, which is available in MSVC 2010.
12+
#if _MSC_VER < 1310 || _MSC_VER >= 1600
13+
#define HASH_NAMESPACE std
14+
#else
15+
#define HASH_NAMESPACE stdext
16+
#endif
17+
18+
/* the location of <hash_set> */
19+
#define HASH_SET_H <hash_set>
20+
21+
/* define if the compiler has hash_map */
22+
#define HAVE_HASH_MAP 1
23+
24+
/* define if the compiler has hash_set */
25+
#define HAVE_HASH_SET 1
26+
27+
/* define if you want to use zlib. See readme.txt for additional
28+
* requirements. */
29+
// #define HAVE_ZLIB 1

0 commit comments

Comments
 (0)