Correctly cast uid and gid sentinel values.
[fwd] / acconfig.h
1 /* -*-c-*-
2 *
3 * $Id: acconfig.h,v 1.3 2003/01/24 20:11:14 mdw Exp $
4 *
5 * Configuration header for fw
6 *
7 * (c) 1999 Straylight/Edgeware
8 */
9
10 /*----- Licensing notice --------------------------------------------------*
11 *
12 * This file is part of the `fw' port forwarder.
13 *
14 * `fw' is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
18 *
19 * `fw' is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with `fw'; if not, write to the Free Software Foundation,
26 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 */
28
29 /*----- Revision history --------------------------------------------------*
30 *
31 * $Log: acconfig.h,v $
32 * Revision 1.3 2003/01/24 20:11:14 mdw
33 * Don't do resource limits on Cygwin.
34 *
35 * Revision 1.2 1999/07/26 23:29:02 mdw
36 * Add DECL_ENVIRON.
37 *
38 * Revision 1.1.1.1 1999/07/01 08:56:23 mdw
39 * Initial revision.
40 *
41 */
42
43 #ifndef ACCONFIG_H
44 #define ACCONFIG_H
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 /*----- Configuration macros ----------------------------------------------*/
51 @TOP@
52
53 /* Package name. */
54 #define PACKAGE "fw"
55
56 /* Package version number. */
57 #define VERSION "1.0.0"
58
59 /* Define if `environ' is declared somewhere sensible. */
60 #undef DECL_ENVIRON
61
62 @BOTTOM@
63
64 /* Cygwin advertises a number of limits and raises errors if you use them.
65 * This is a bit crap, and we ought to be able to cope, but for now we just
66 * don't do resource limits on Cygwin. Sorry. */
67 #ifdef __CYGWIN__
68 # undef HAVE_SETRLIMIT
69 #endif
70
71 /*----- That's all, folks -------------------------------------------------*/
72
73 #ifdef __cplusplus
74 }
75 #endif
76
77 #endif