mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
7edc8faefd
THRIFT-3847: change VERSION to PACKAGE_VERSION to avoid conflicts with third party or OS headers This closes #1128
155 lines
4.8 KiB
C
155 lines
4.8 KiB
C
/*
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
* or more contributor license agreements. See the NOTICE file
|
|
* distributed with this work for additional information
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
* to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance
|
|
* with the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
/* config.h generated by CMake from config.h.in */
|
|
|
|
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
|
|
/* Name of package */
|
|
#cmakedefine PACKAGE "${PACKAGE}"
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
|
|
|
|
/* Define to the full name of this package. */
|
|
#cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#cmakedefine PACKAGE_TARNAME "${PACKAGE_TARNAME}"
|
|
|
|
/* Define to the home page for this package. */
|
|
#cmakedefine PACKAGE_URL "${PACKAGE_URL}"
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "${PACKAGE_STRING}"
|
|
|
|
/************************** DEFINES *************************/
|
|
|
|
/* Define if the AI_ADDRCONFIG symbol is unavailable */
|
|
#cmakedefine AI_ADDRCONFIG 0
|
|
|
|
/* Possible value for SIGNED_RIGHT_SHIFT_IS */
|
|
/* TODO: This is just set to 1 for the moment
|
|
port the macro aclocal/ax_signed_right_shift.m4 to CMake to make this work */
|
|
#define ARITHMETIC_RIGHT_SHIFT 1
|
|
|
|
/* Indicates the effect of the right shift operator on negative signed
|
|
integers */
|
|
/* TODO: This is just set to 1 for the moment */
|
|
#define SIGNED_RIGHT_SHIFT_IS 1
|
|
|
|
/* Use *.h extension for parser header file */
|
|
/* TODO: This might now be necessary anymore as it is set only for automake < 1.11
|
|
see: aclocal/ac_prog_bison.m4 */
|
|
#cmakedefine BISON_USE_PARSER_H_EXTENSION 1
|
|
|
|
/* replaces POSIX pthread by boost::thread */
|
|
#cmakedefine USE_BOOST_THREAD 1
|
|
|
|
/* replaces POSIX pthread by std::thread */
|
|
#cmakedefine USE_STD_THREAD 1
|
|
|
|
/* Define to 1 if strerror_r returns char *. */
|
|
#cmakedefine STRERROR_R_CHAR_P 1
|
|
|
|
|
|
/************************** HEADER FILES *************************/
|
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
#cmakedefine HAVE_ARPA_INET_H 1
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#cmakedefine HAVE_FCNTL_H 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
|
#cmakedefine HAVE_NETDB_H 1
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
#cmakedefine HAVE_NETINET_IN_H 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the <pthread.h> header file. */
|
|
#cmakedefine HAVE_PTHREAD_H 1
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#cmakedefine HAVE_SYS_TIME_H 1
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
#cmakedefine HAVE_SYS_PARAM_H 1
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
#cmakedefine HAVE_SYS_RESOURCE_H 1
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
#cmakedefine HAVE_SYS_SOCKET_H 1
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/un.h> header file. */
|
|
#cmakedefine HAVE_SYS_UN_H 1
|
|
|
|
/* Define to 1 if you have the <sys/poll.h> header file. */
|
|
#cmakedefine HAVE_SYS_POLL_H 1
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
#cmakedefine HAVE_SYS_SELECT_H 1
|
|
|
|
/* Define to 1 if you have the <sched.h> header file. */
|
|
#cmakedefine HAVE_SCHED_H 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
/*************************** FUNCTIONS ***************************/
|
|
|
|
/* Define to 1 if you have the `gethostbyname' function. */
|
|
#cmakedefine HAVE_GETHOSTBYNAME 1
|
|
|
|
/* Define to 1 if you have the `gethostbyname_r' function. */
|
|
#cmakedefine HAVE_GETHOSTBYNAME_R 1
|
|
|
|
/* Define to 1 if you have the `strerror_r' function. */
|
|
#cmakedefine HAVE_STRERROR_R 1
|
|
|
|
/* Define to 1 if you have the `sched_get_priority_max' function. */
|
|
#cmakedefine HAVE_SCHED_GET_PRIORITY_MAX 1
|
|
|
|
/* Define to 1 if you have the `sched_get_priority_min' function. */
|
|
#cmakedefine HAVE_SCHED_GET_PRIORITY_MIN 1
|
|
|
|
|
|
/* Define to 1 if strerror_r returns char *. */
|
|
#cmakedefine STRERROR_R_CHAR_P 1
|
|
|
|
#endif
|