annotate src/s/isc4-0.h @ 15154:bcc66f4bc5ff

Include string.h. (HAVE_FREXP, HAVE_FMOD): Macros removed. (struct timeval, struct timezone, gettimeofday): Declarations removed. (HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined. (DIRECTORY_SEP): Use Vdirectory_sep_char. (EXEC_SUFFIXES): Add .cmd to list of suffixes. (EXEC_SUFFIXES): Add .cmd to list of suffixes. > (HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR, HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP, HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros. (access, chdir, chmod, close, creat, ctime, dup, dup2, fopen, link, mkdir, mktemp, open, pipe, read, rename, rmdir, select, sleep, unlink, write, spawnve, wait, kill, signal): Macros redefined from win32_* to sys_*. [__STDC__]: Define when including direct.h, io.h, stdio.h. (struct nt_stat): Definition removed. (stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 03 May 1996 18:50:05 +0000
parents 4e472b8b55c5
children 4406a040b043
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6777
1f1e94761cd6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "isc3-0.h"
1f1e94761cd6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
3 #undef LIBS_SYSTEM
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
4 #define LIBS_SYSTEM -linet -lcposix
7325
bfbebc2a04c9 (NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents: 6880
diff changeset
5
bfbebc2a04c9 (NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents: 6880
diff changeset
6 #define ISC4_0
8284
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
7
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
8 /* fmcphers@csugrad.cs.vt.edu reported this was necessary.
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
9 He used GCC. I don't know what is needed with other compilers. */
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
10 #ifdef __GNUC__
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
11 #undef LIBX11_SYSTEM
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
12 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
13 #endif
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
14
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
15 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
16 says this is needed. */
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
17
12754
8ba3a8c5dc43 (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents: 9548
diff changeset
18 #ifndef POSIX_SIGNALS
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
19 #ifndef sigblock
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
20 #ifndef SIG_BLOCK
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
21 #define SIG_BLOCK 0
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
22 #endif
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
23 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
24 #endif
12754
8ba3a8c5dc43 (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents: 9548
diff changeset
25 #endif /* not POSIX_SIGNALS */