Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenacconfig.h
Go to the documentation of this file.
00001 /* 00002 * acconfig.h 00003 * input file for autoheader/autoconf/configure: extra stuff for config.h 00004 */ 00005 /* 00006 * This file is 00007 * Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk> 00008 * 00009 * It is part of adns, which is 00010 * Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk> 00011 * Copyright (C) 1999-2000 Tony Finch <dot@dotat.at> 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation; either version 2, or (at your option) 00016 * any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program; if not, write to the Free Software Foundation, 00025 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00026 */ 00027 00028 /* Define if inline functions a la GCC are available. */ 00029 #undef HAVE_INLINE 00030 00031 /* Define if function attributes a la GCC 2.5 and higher are available. */ 00032 #undef HAVE_GNUC25_ATTRIB 00033 00034 /* Define if constant functions a la GCC 2.5 and higher are available. */ 00035 #undef HAVE_GNUC25_CONST 00036 00037 /* Define if nonreturning functions a la GCC 2.5 and higher are available. */ 00038 #undef HAVE_GNUC25_NORETURN 00039 00040 /* Define if printf-format argument lists a la GCC are available. */ 00041 #undef HAVE_GNUC25_PRINTFFORMAT 00042 00043 /* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */ 00044 #undef HAVEUSE_RPCTYPES_H 00045 00046 @BOTTOM@ 00047 00048 /* Use the definitions: */ 00049 00050 #ifndef HAVE_INLINE 00051 #define inline 00052 #endif 00053 00054 #ifdef HAVE_POLL 00055 #include <sys/poll.h> 00056 #else 00057 /* kludge it up */ 00058 struct pollfd { int fd; short events; short revents; }; 00059 #define POLLIN 1 00060 #define POLLPRI 2 00061 #define POLLOUT 4 00062 #endif 00063 00064 /* GNU C attributes. */ 00065 #ifndef FUNCATTR 00066 #ifdef HAVE_GNUC25_ATTRIB 00067 #define FUNCATTR(x) __attribute__(x) 00068 #else 00069 #define FUNCATTR(x) 00070 #endif 00071 #endif 00072 00073 /* GNU C printf formats, or null. */ 00074 #ifndef ATTRPRINTF 00075 #ifdef HAVE_GNUC25_PRINTFFORMAT 00076 #define ATTRPRINTF(si,tc) format(printf,si,tc) 00077 #else 00078 #define ATTRPRINTF(si,tc) 00079 #endif 00080 #endif 00081 #ifndef PRINTFFORMAT 00082 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc))) 00083 #endif 00084 00085 /* GNU C nonreturning functions, or null. */ 00086 #ifndef ATTRNORETURN 00087 #ifdef HAVE_GNUC25_NORETURN 00088 #define ATTRNORETURN noreturn 00089 #else 00090 #define ATTRNORETURN 00091 #endif 00092 #endif 00093 #ifndef NONRETURNING 00094 #define NONRETURNING FUNCATTR((ATTRNORETURN)) 00095 #endif 00096 00097 /* Combination of both the above. */ 00098 #ifndef NONRETURNPRINTFFORMAT 00099 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN)) 00100 #endif 00101 00102 /* GNU C constant functions, or null. */ 00103 #ifndef ATTRCONST 00104 #ifdef HAVE_GNUC25_CONST 00105 #define ATTRCONST const 00106 #else 00107 #define ATTRCONST 00108 #endif 00109 #endif 00110 #ifndef CONSTANT 00111 #define CONSTANT FUNCATTR((ATTRCONST)) 00112 #endif 00113 00114 #ifdef HAVEUSE_RPCTYPES_H 00115 #include <rpc/types.h> 00116 #endif 00117 00118 #ifdef HAVE_SYS_SELECT_H 00119 #include <sys/select.h> 00120 #endif Generated on Sat May 26 2012 04:25:47 for ReactOS by
1.7.6.1
|