comparison w32/config.h @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents
children 78478c60bfcd
comparison
equal deleted inserted replaced
208:f427b8ec4379 209:41ff10fd062f
1 /* XEmacs site configuration template file. -*- C -*-
2 Copyright (C) 1986, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
3
4 This file is part of XEmacs.
5
6 XEmacs is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
9 later version.
10
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with XEmacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 /* Synched up with: FSF 19.30 (more or less). */
22
23 /* No code in XEmacs #includes config.h twice, but some of the code
24 intended to work with other packages as well (like gmalloc.c)
25 think they can include it as many times as they like. */
26 #ifndef _CONFIG_H_
27 #define _CONFIG_H_
28
29 /* #### This will be removed in 19.15. */
30 #define LOSING_BYTECODE
31
32 #define NTHEAP_PROBE_BASE 1
33
34 /* These are all defined in the top-level Makefile by configure.
35 They're here only for reference. */
36
37 /* Define LISP_FLOAT_TYPE if you want XEmacs to support floating-point
38 numbers. */
39 #undef LISP_FLOAT_TYPE
40
41 /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */
42 #define GNU_MALLOC
43
44 /* Define USE_SYSTEM_MALLOC if you forcing the use of it. */
45 #undef USE_SYSTEM_MALLOC
46
47 /* Define HAVE_TTY if you want TTY support compiled in. */
48 #undef HAVE_TTY
49
50 /* Define HAVE_X_WINDOWS if you want to use the X window system. */
51 #undef HAVE_X_WINDOWS /* XXX Jon */
52
53 /* Define HAVE_NEXTSTEP if you want to use the NeXTstep window system. */
54 #undef HAVE_NEXTSTEP
55
56 /* Define HAVE_W32 if you want to use the MS win32 GUI. */
57 #define HAVE_W32GUI
58
59 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
60 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) || defined (HAVE_W32GUI)
61 #define HAVE_WINDOW_SYSTEM
62 #endif
63
64 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
65 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_W32GUI)
66 #define HAVE_UNIXOID_EVENT_LOOP
67 #endif
68
69 /* Define this if you're using XFree386. */
70 #undef HAVE_XFREE386
71
72 #undef THIS_IS_X11R4
73 #undef THIS_IS_X11R5
74 #undef THIS_IS_X11R6 /* XXX Jon */
75
76 /* Define USER_FULL_NAME to return a string
77 that is the user's full name.
78 It can assume that the variable `pw'
79 points to the password file entry for this user.
80
81 At some sites, the pw_gecos field contains
82 the user's full name. If neither this nor any other
83 field contains the right thing, use pw_name,
84 giving the user's login name, since that is better than nothing. */
85 #define USER_FULL_NAME pw->pw_gecos
86 #if 0
87 #define USER_FULL_NAME unknown
88 #endif
89
90 /* Define AMPERSAND_FULL_NAME if you use the convention
91 that & in the full name stands for the login id. */
92 #undef AMPERSAND_FULL_NAME
93
94 /* Some things figured out by the configure script, grouped as they are in
95 configure.in. */
96 #undef HAVE_MACH_MACH_H
97 #undef HAVE_SYS_STROPTS_H
98 #undef HAVE_SYS_TIMEB_H
99 #undef HAVE_UNISTD_H
100 #undef HAVE_UTIME_H
101 #undef HAVE_SYS_WAIT_H
102 #undef HAVE_LIBGEN_H
103 #undef HAVE_LINUX_VERSION_H
104 #undef WORDS_BIGENDIAN
105 #undef TIME_WITH_SYS_TIME
106
107 #define HAVE_SYS_TIME_H
108 #define HAVE_LOCALE_H
109 #undef HAVE_X11_LOCALE_H /* XXX Jon */
110 #define STDC_HEADERS
111 #define HAVE_LIMITS_H
112 #define HAVE_GETCWD
113
114 #define HAVE_LONG_FILE_NAMES
115
116 #ifdef HAVE_LONG_FILE_NAMES
117 #define CLASH_DETECTION
118 #endif
119
120 #undef HAVE_LIBDNET
121 #undef HAVE_LIBRESOLV
122
123 /* Define if `sys_siglist' is declared by <signal.h>. */
124 #undef SYS_SIGLIST_DECLARED
125
126 /* Define if `struct utimbuf' is declared by <utime.h>. */
127 #undef HAVE_STRUCT_UTIMBUF
128
129 /* Define if `struct timeval' is declared by <sys/time.h>. */
130 #define HAVE_TIMEVAL
131
132
133 #undef TM_IN_SYS_TIME
134 #undef HAVE_TM_ZONE
135 #undef HAVE_TZNAME
136
137 /* Define if netdb.h declares h_errno. */
138 #undef HAVE_H_ERRNO
139
140 /* Define if localtime caches TZ */
141 #undef LOCALTIME_CACHE
142
143 /* Define if gettimeofday can't accept two arguments */
144 #ifdef HAVE_X_WINDOWS
145 #define GETTIMEOFDAY_ONE_ARGUMENT
146 #else
147 #undef GETTIMEOFDAY_ONE_ARGUMENT
148 #endif
149
150 /* Define in keyword `inline' exists. */
151 #undef HAVE_INLINE
152
153 #undef HAVE_ALLOCA_H
154 #undef HAVE_VFORK_H
155 #undef vfork
156
157 #undef HAVE_MMAP
158 #undef HAVE_STRCOLL
159
160 #undef SIZEOF_SHORT
161 #undef SIZEOF_INT
162 #undef SIZEOF_LONG
163
164 #undef HAVE_ACOSH
165 #undef HAVE_ASINH
166 #undef HAVE_ATANH
167
168 #if defined (HAVE_ACOSH) && defined (HAVE_ASINH) && defined (HAVE_ATANH)
169 #define HAVE_INVERSE_HYPERBOLIC
170 #endif
171
172 #undef HAVE_CBRT
173 #define HAVE_CLOSEDIR
174 #undef HAVE_DUP2
175 #undef HAVE_EACCESS
176 #undef HAVE_FMOD
177 #undef HAVE_FPATHCONF
178 #undef HAVE_FREXP
179 #undef HAVE_FTIME
180 #undef HAVE_GETHOSTNAME
181 #undef HAVE_GETPAGESIZE
182 #define HAVE_GETTIMEOFDAY
183 #define HAVE_GETWD
184 #undef HAVE_LOGB
185 #undef HAVE_LRAND48
186 #undef HAVE_MATHERR
187 #undef HAVE_MKDIR
188 #undef HAVE_MKTIME
189 #undef HAVE_PERROR
190 #undef HAVE_POLL
191 #undef HAVE_RANDOM
192 #undef HAVE_REALPATH
193 #undef HAVE_RENAME
194 #undef HAVE_RES_INIT
195 #undef HAVE_RINT
196 #undef HAVE_RMDIR
197 #define HAVE_SELECT
198 #undef HAVE_SETITIMER
199 #undef HAVE_SETPGID
200 #undef HAVE_SETSID
201 #undef HAVE_SIGBLOCK
202 #undef HAVE_SIGHOLD
203 #undef HAVE_SIGPROCMASK
204 #undef HAVE_SIGSETJMP
205 #undef HAVE_STRCASECMP
206 #define HAVE_STRERROR
207 #undef HAVE_TZSET
208 #undef HAVE_UTIMES
209 #undef HAVE_WAITPID
210
211 #define HAVE_SOCKETS
212 #undef HAVE_SOCKADDR_SUN_LEN
213 #undef HAVE_SYSVIPC
214
215 #undef SYSV_SYSTEM_DIR
216 #undef NONSYSTEM_DIR_LIBRARY
217
218 #undef HAVE_TERMIOS
219 #undef HAVE_TERMIO
220
221 #undef NLIST_STRUCT
222
223 #undef UNEXEC_SRC
224 #undef AIX_SMT_EXP
225
226 /* Define HAVE_SOCKS if you have the `socks' library and want XEmacs to
227 use it. */
228 #undef HAVE_SOCKS
229
230 /* Define HAVE_TERM if you run the `term' program (e.g. under Linux) and
231 want XEmacs to use it. */
232 #undef HAVE_TERM
233
234 /* Define HAVE_XPM if you have the `xpm' library and want XEmacs to use it. */
235 #undef HAVE_XPM
236
237 /* Define HAVE_XFACE if you have the `compface' library and want to use it.
238 This will permit X-face pixmaps in mail and news messages to display
239 quickly. */
240 #undef HAVE_XFACE
241
242 /* Define HAVE_GIF if you want XEmacs to support converting GIF
243 (Graphics Interchange Format) images. */
244 #undef HAVE_GIF
245
246 /* Define HAVE_JPEG if you have the JPEG library and want XEmacs to use it.
247 This is for converting JPEG images. */
248 #undef HAVE_JPEG
249
250 /* Define HAVE_PNG if you have the PNG library and want XEmacs to use it.
251 This is for converting PNG images. */
252 #undef HAVE_PNG
253
254 /* Define HAVE_PNG_GNUZ if you want to use -lgz instead of -lz for PNG. */
255 #undef HAVE_PNG_GNUZ
256
257 /* Define HAVE_TIFF if you have the TIFF library and want XEmacs to use it.
258 This is for converting TIFF images. */
259 #undef HAVE_TIFF
260
261 /* Define HAVE_XMU if you have the Xmu library. This should always be
262 the case except on losing HPUX systems. */
263 #undef HAVE_XMU /* XXX Jon */
264
265 /* Define HAVE_DBM if you want to use the DBM libraries */
266 #undef HAVE_DBM
267
268 /* Define HAVE_GNU_DBM if you want to use the GNU DBM libraries;
269 if you define this, you should also define HAVE_DBM */
270 #undef HAVE_GNU_DBM
271
272 /* Define HAVE_BERKELEY_DB if you want to use the BerkDB libraries */
273 #undef HAVE_BERKELEY_DB
274
275 /* Define HAVE_LIBGDBM if you have -lgdbm (separated from HAVE_DBM
276 stuff because FreeBSD has the DBM routines in libc) */
277 #undef HAVE_LIBGDBM
278
279 /* Define HAVE_LIBDBM if you have -ldbm */
280 #undef HAVE_LIBDBM
281
282 /* Define HAVE_LIBDB if you have -ldb */
283 #undef HAVE_LIBDB
284
285 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB)
286 # define HAVE_DATABASE
287 #endif
288
289 /* Define HAVE_XAUTH if the Xauth library is present. This will add
290 some extra functionality to gnuserv. */
291 #undef HAVE_XAUTH
292
293 /* Define HAVE_XLOCALE_H if X11/Xlocale.h is present. */
294 #undef HAVE_XLOCALE_H /* XXX Jon */
295
296 /* Define HAVE_NCURSES if -lncurses is present. */
297 #undef HAVE_NCURSES
298
299 /* Define HAVE_NCURSES_CURSES_H if ncurses/curses.h is present. */
300 #undef HAVE_NCURSES_CURSES_H
301
302 /* Define HAVE_NCURSES_TERM_H if ncurses/term.h is present. */
303 #undef HAVE_NCURSES_TERM_H
304
305 /* Define EPOCH to include extra functionality that was present in Epoch.
306 This code has received only limited testing. */
307 #undef EPOCH
308
309 #define LOWTAGS
310
311 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert()
312 If the assertion fails, assert_failed() will be called. This is
313 recommended for general use because it gives more info about the crash
314 than just the abort() message. Too many people "Can't find the corefile"
315 or have limited core dumps out of existence. */
316 #define USE_ASSERTIONS
317
318 /* Define one or more of the following if you want lots of extra checks
319 (e.g. structure validation) compiled in. These should be turned
320 on during the beta-test cycle. */
321
322 /* Check the entire extent structure of a buffer each time an extent
323 change is done, and do other extent-related checks. */
324 #define ERROR_CHECK_EXTENTS
325 /* Make sure that all X... macros are dereferencing the correct type,
326 and that all XSET... macros (as much as possible) are setting the
327 correct type of structure. Highly recommended for all
328 development work. */
329 #define ERROR_CHECK_TYPECHECK
330 /* Make sure valid buffer positions are passed to BUF_* macros. */
331 #define ERROR_CHECK_BUFPOS
332 /* Attempt to catch bugs related to garbage collection (e.g.
333 insufficient GCPRO'ing). */
334 #define ERROR_CHECK_GC
335 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption,
336 etc. */
337 #define ERROR_CHECK_MALLOC
338
339 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
340 This is mainly intended for use by developers. */
341 #define DEBUG_XEMACS 1
342
343 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
344 determine where XEmacs's memory is going. */
345 #undef MEMORY_USAGE_STATS
346
347 /* Define QUANTIFY if using Quantify from Pure Software. This adds
348 some additional calls to control data collection. This is only
349 intended for use by the developers. */
350 #undef QUANTIFY
351
352 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
353 widget in another program. */
354 #undef EXTERNAL_WIDGET
355
356 /* There are some special-case defines for gcc and lcc. */
357 #undef USE_GCC
358 #undef USE_LCC
359
360 /* Allow the user to override the default value of PURESIZE at configure
361 time. This must come before we include the sys files in order for
362 it to be able to override any changes in them. */
363 #undef PURESIZE
364
365
366 /* Define this if you want to use the Common Desktop Environment
367 */
368 #undef HAVE_CDE
369
370 /* Define this if you want Mule support (multi-byte character support).
371 There may be some performance penalty, although it should be small
372 if you're working with ASCII files. */
373 #undef MULE /* XXX Jon */
374
375 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
376 If so, use raw Xlib or higher level Motif interface? */
377 #undef HAVE_XIM /* XXX Jon */
378 #undef XIM_XLIB /* XXX Jon */
379 #undef XIM_MOTIF
380
381 /* Non-XIM input methods for use with Mule. */
382 #undef HAVE_CANNA
383 #undef HAVE_WNN
384 #undef WNN6
385
386 /* enable special GNU Make features in the Makefiles. */
387 #undef USE_GNU_MAKE
388
389 /* Undocumented debugging option: Don't automatically rebuild the DOC
390 file. This saves a lot of time when you're repeatedly
391 compiling-running-crashing. */
392 #undef NO_DOC_FILE
393
394 /* To eliminate use of `const' in the XEmacs sources,
395 do `#define CONST_IS_LOSING' */
396 #define CONST_IS_LOSING
397
398 # undef CONST
399 # ifdef CONST_IS_LOSING
400 # define CONST
401 # else
402 # define CONST const
403 # endif /* CONST */
404
405 /* If not defined, use unions instead of ints. A few systems (DEC Alpha)
406 seem to require this, probably because something with the int
407 definitions isn't right with 64-bit systems.
408
409 (It's NO_UNION_TYPE instead of USE_UNION_TYPE for historical reasons.)
410 */
411 #undef NO_UNION_TYPE
412
413 /* The configuration script defines opsysfile to be the name of the
414 s/...h file that describes the system type you are using. The file
415 is chosen based on the configuration name you give.
416
417 See the file ../etc/MACHINES for a list of systems and the
418 configuration names to use for them.
419
420 See s/template.h for documentation on writing s/...h files. */
421 #include "s/windowsnt.h"
422
423 /* The configuration script defines machfile to be the name of the
424 m/...h file that describes the machine you are using. The file is
425 chosen based on the configuration name you give.
426
427 See the file ../etc/MACHINES for a list of machines and the
428 configuration names to use for them.
429
430 See m/template.h for documentation on writing m/...h files. */
431 #include "m/windowsnt.h"
432
433 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
434 #define SYSTEM_MALLOC
435 #endif
436
437 /* The configuration name. This is used as the install directory name
438 for the lib-src programs. */
439 #undef EMACS_CONFIGURATION
440
441 /* Define REL_ALLOC if you want to use the relocating allocator for
442 buffer space. */
443 #undef REL_ALLOC
444
445 /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */
446 #undef LD_SWITCH_SITE
447
448 /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */
449 #undef C_SWITCH_SITE
450
451 /* Define LD_SWITCH_X_SITE to contain any special flags your loader
452 may need to deal with X Windows. For instance, if you've defined
453 HAVE_X_WINDOWS above and your X libraries aren't in a place that
454 your loader can find on its own, you might want to add "-L/..." or
455 something similar. */
456 #undef LD_SWITCH_X_SITE
457
458 /* Define LD_SWITCH_X_SITE_AUX with an -R option
459 in case it's needed (for Solaris, for example). */
460 #undef LD_SWITCH_X_SITE_AUX
461
462 /* Define C_SWITCH_X_SITE to contain any special flags your compiler
463 may need to deal with X Windows. For instance, if you've defined
464 HAVE_X_WINDOWS above and your X include files aren't in a place
465 that your compiler can find on its own, you might want to add
466 "-I/..." or something similar. */
467 #undef C_SWITCH_X_SITE
468
469 /* Define the return type of signal handlers if the s-xxx file
470 did not already do so. */
471 #define RETSIGTYPE void
472
473 /* SIGTYPE is the macro we actually use. */
474 #ifndef SIGTYPE
475 #define SIGTYPE RETSIGTYPE
476 #define SIGRETURN return
477 #endif
478
479 /* Define DYNODUMP if it is necessary to properly dump on this system.
480 Currently this is only Solaris. */
481 #undef DYNODUMP
482
483 /* Define NEED_XILDOFF if the -xildoff flag must be passed to cc to
484 avoid invoking the incremental linker ild which is incompatible
485 with dynodump. This is needed for recent Sunsoft compilers. */
486 #undef NEED_XILDOFF
487
488 /* Define ENERGIZE to compile with support for the Energize Programming System.
489 If you do this, don't forget to define ENERGIZE in lwlib/Imakefile as well.
490 You will need to set your C_SWITCH_SITE and LD_SWITCH_SITE to point at the
491 Energize connection library (libconn.a) and associated header files.
492 */
493 #undef ENERGIZE
494 #undef ENERGIZE_2
495 #undef ENERGIZE_3
496
497 /* Define SUNPRO to compiled in support for Sun Sparcworks. */
498 #undef SUNPRO
499
500 /* Sun SparcStations, SGI machines, and HP9000s700s have support for playing
501 different sound files as beeps. If you are on a SparcStation but do not
502 have the sound option installed for some reason, then undefine
503 HAVE_NATIVE_SOUND. (It's usually found in /usr/demo/SOUND/ on SunOS 4
504 and Solaris systems; on Solaris, you may need to install the "SUNWaudmo"
505 package.)
506 */
507 #undef HAVE_NATIVE_SOUND
508
509 /* If you wish to compile with support for the Network Audio System
510 system define HAVE_NAS_SOUND.
511 NAS_NO_ERROR_JUMP means that the NAS libraries don't inlcude some
512 error handling changes.
513 */
514 #undef HAVE_NAS_SOUND
515 #undef NAS_NO_ERROR_JUMP
516
517 /* Compile in support for SunPro usage-tracking code. */
518 #undef USAGE_TRACKING
519
520 /* Define TOOLTALK if your site supports the ToolTalk library. */
521 #undef TOOLTALK
522
523 #undef LWLIB_USES_MOTIF
524 #undef LWLIB_MENUBARS_LUCID
525 #undef LWLIB_MENUBARS_MOTIF
526 #undef LWLIB_SCROLLBARS_LUCID
527 #undef LWLIB_SCROLLBARS_MOTIF
528 #undef LWLIB_SCROLLBARS_ATHENA
529 #undef LWLIB_DIALOGS_MOTIF
530 #undef LWLIB_DIALOGS_ATHENA
531
532 /* Other things that can be disabled by configure. */
533 #undef HAVE_MENUBARS
534 #undef HAVE_SCROLLBARS
535 #undef HAVE_DIALOGS
536 #undef HAVE_TOOLBARS
537
538
539 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
540 #define HAVE_POPUPS
541 #endif
542
543 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
544 There is a stupid bug in the SunOS libc.a: two functions which X11r5
545 uses, mbstowcs() and wcstombs(), are unusable when programs are
546 statically linked (as XEmacs must be) because the static version of
547 libc.a contains the *dynamic* versions of these functions. These
548 functions don't seem to be called when XEmacs is running, so it's
549 enough to define stubs for them.
550
551 This appears to be fixed in SunOS 4.1.2.
552
553 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
554 sometimes reference memory past the end of the string, which can segv.
555 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3.
556 */
557 #if defined (sparc) && !defined (USG)
558 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
559 #endif
560
561 /* If you turn this flag on, it forces encapsulation in all
562 circumstances; this can be used to make sure things compile OK
563 on various systems. */
564 #undef DEBUG_ENCAPSULATION
565 #define DONT_ENCAPSULATE
566
567 /* basic system calls */
568
569 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
570 # define ENCAPSULATE_READ
571 # define ENCAPSULATE_WRITE
572 #endif
573 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION)
574 # define ENCAPSULATE_OPEN
575 #endif
576 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
577 # define ENCAPSULATE_CLOSE
578 #endif
579
580 /* stdio calls */
581
582 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
583 # define ENCAPSULATE_FREAD
584 # define ENCAPSULATE_FWRITE
585 #endif
586 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION)
587 # define ENCAPSULATE_FOPEN
588 #endif
589 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
590 # define ENCAPSULATE_FCLOSE
591 #endif
592
593 /* directory calls */
594
595 #if defined (DEBUG_ENCAPSULATION)
596 # define ENCAPSULATE_CHDIR
597 # define ENCAPSULATE_MKDIR
598 # define ENCAPSULATE_OPENDIR
599 # define ENCAPSULATE_READDIR
600 # define ENCAPSULATE_RMDIR
601 #endif
602
603 /* file-information calls */
604
605 #if defined (DEBUG_ENCAPSULATION)
606 # define ENCAPSULATE_ACCESS
607 # define ENCAPSULATE_LSTAT
608 # define ENCAPSULATE_READLINK
609 # define ENCAPSULATE_STAT
610 #endif
611
612 /* file-manipulation calls */
613
614 #if defined (DEBUG_ENCAPSULATION)
615 # define ENCAPSULATE_CHMOD
616 # define ENCAPSULATE_CREAT
617 # define ENCAPSULATE_LINK
618 # define ENCAPSULATE_RENAME
619 # define ENCAPSULATE_SYMLINK
620 # define ENCAPSULATE_UNLINK
621 #endif
622
623 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
624 #define HAVE_FEP
625 #endif
626
627 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
628 #define accept Raccept
629 #define bind Rbind
630 #define connect Rconnect
631 #define getsockname Rgetsockname
632 #define listen Rlisten
633 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
634
635 #ifndef SHORTBITS
636 #define SHORTBITS (8 * SIZEOF_SHORT)
637 #endif
638 #ifndef INTBITS
639 #define INTBITS (8 * SIZEOF_INT)
640 #endif
641 #ifndef LONGBITS
642 #define LONGBITS (8 * SIZEOF_LONG)
643 #endif
644
645 #ifdef HAVE_INLINE
646 # if defined (__GNUC__)
647 # if defined (DONT_EXTERN_INLINE_FUNCTIONS)
648 # define INLINE inline
649 # else
650 # define INLINE extern inline
651 # endif
652 # else
653 # define INLINE static inline
654 # endif
655 #else
656 # define INLINE static
657 #endif
658
659 /* We want to avoid saving the signal mask if possible, because
660 that necessitates a system call. */
661 #ifdef HAVE_SIGSETJMP
662 # define SETJMP(x) sigsetjmp (x, 0)
663 # define LONGJMP(x, y) siglongjmp (x, y)
664 # define JMP_BUF sigjmp_buf
665 #else
666 # define SETJMP(x) setjmp (x)
667 # define LONGJMP(x, y) longjmp (x, y)
668 # define JMP_BUF jmp_buf
669 #endif
670
671 #endif /* _CONFIG_H_ */