su 1.12.10
|
00001 /* libsofia-sip-ua/su/sofia-sip/su_configure.h. Generated from su_configure.h.in by configure. */ 00002 /* 00003 * This file is part of the Sofia-SIP package 00004 * 00005 * Copyright (C) 2005,2006,2007 Nokia Corporation. 00006 * 00007 * Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden> 00008 * 00009 * This library is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public License 00011 * as published by the Free Software Foundation; either version 2.1 of 00012 * the License, or (at your option) any later version. 00013 * 00014 * This library is distributed in the hope that it will be useful, but 00015 * WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00022 * 02110-1301 USA 00023 * 00024 */ 00025 00026 #ifndef SU_CONFIGURE_H 00027 00028 #define SU_CONFIGURE_H 00029 00046 #define SU_HAVE_STDINT 1 00047 00048 #define SU_HAVE_INTTYPES 1 00049 00050 #define SU_HAVE_SYS_TYPES 1 00051 00053 #define SU_HAVE_BSDSOCK 1 00054 00055 #define SU_HAVE_PTHREADS 1 00056 00057 #define SU_HAVE_POLL 1 00058 00059 #define SU_HAVE_IN6 1 00060 00062 /* #undef SU_HAVE_SOCKADDR_SA_LEN */ 00063 00065 #define SU_HAVE_SOCKADDR_STORAGE 1 00066 00068 #define SU_HAVE_ADDRINFO 1 00069 00071 /* #undef SU_HAVE_WINSOCK */ 00072 00074 /* #undef SU_HAVE_WINSOCK2 */ 00075 00077 /* #undef SU_HAVE_OSX_CF_API */ 00078 00083 /* #undef SU_HAVE_EXPERIMENTAL */ 00084 00086 #define SU_HAVE_INLINE 1 00087 00088 #define SU_INLINE inline 00089 00090 #define su_inline static inline 00091 00093 #define SU_INLINE_TAG_CAST 1 00094 00096 #define SU_HAVE_TAGSTACK 1 00097 00098 /* These are valid only for GCC */ 00099 00100 #define SU_S64_C(i) (SU_S64_T)(i ## LL) 00101 #define SU_U64_C(i) (SU_U64_T)(i ## ULL) 00102 #define SU_S32_C(i) (SU_S32_T)(i ## L) 00103 #define SU_U32_C(i) (SU_U32_T)(i ## UL) 00104 #define SU_S16_C(i) (SU_S16_T)(i) 00105 #define SU_U16_C(i) (SU_U16_T)(i ## U) 00106 #define SU_S8_C(i) (SU_S8_T)(i) 00107 #define SU_U8_C(i) (SU_U8_T)(i ## U) 00108 00110 /* #undef SOFIA_SSIZE_T */ 00111 00114 #define SOFIA_ISIZE_T int 00115 00117 #define ISIZE_MAX INT_MAX 00118 00121 #define SOFIA_ISSIZE_T int 00122 00124 #define ISSIZE_MAX INT_MAX 00125 00128 #define SOFIA_USIZE_T unsigned 00129 00131 #define USIZE_MAX UINT_MAX 00132 00134 /* #undef __EXTENSIONS__ */ 00135 00137 #ifndef _GNU_SOURCE 00138 #define _GNU_SOURCE 1 00139 #endif 00140 00141 #endif /* SU_CONFIGURE_H */