annotate src/s/dgux5-4R3.h @ 7778:b0e2bd1e825a

(solar-sunrise, solar-sunset): Fix doc string. (solar-time-string): Rewritten. (solar-adj-time-for-dst): New function. (solar-sunrise-sunset, diary-sabbath-candles, solar-equinoxes-solstices): Revised to use the rewritten and new fcns.
author Edward M. Reingold <reingold@emr.cs.iit.edu>
date Fri, 03 Jun 1994 20:26:33 +0000
parents 8f0735e7f807
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7237
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1 /* Definitions file for GNU Emacs running on Data General's DG/UX
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
2 version 5.4 Release 3.00 and above.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
3 Copyright (C) 1994 Free Software Foundation, Inc.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
4
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
5 This file is part of GNU Emacs.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
6
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
7 GNU Emacs is free software; you can redistribute it and/or modify
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
9 the Free Software Foundation; either version 2, or (at your option)
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
10 any later version.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
11
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
15 GNU General Public License for more details.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
16
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
18 along with GNU Emacs; see the file COPYING. If not, write to
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
20
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
21 /* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
22 compiler. You must upgraded to at least gcc-2.5.8. If you are
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
23 running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
24 for gcc-2.5.8 or later compiler.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
25 -pmr@pajato.com */
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
26
7243
8f0735e7f807 Corrected the DGUX 5.4R2 include filename.
Paul Reilly <pmr@pajato.com>
parents: 7237
diff changeset
27 #include "dgux5-4R2.h"
7237
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
28
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
29 /* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
30 compliance wiht the majority of Unix systems. The workaround
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
31 introduced in 5.4R2 is no longer necessary. */
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
32
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
33 #ifdef HAVE_BROKEN_INET_ADDR
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
34 #undef HAVE_BROKEN_INET_ADDR
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
35 #endif
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
36
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
37 /* The `stop on tty output' problem which occurs when using
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
38 INTERRUPT_INPUT and when Emacs is invoked under X11 using a job
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
39 control shell (csh, ksh, etc.) in the background has not been fixed in
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
40 DGUX 5.4R3.00.
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
41 -pmr@pajato.com */
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
42
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
43 #if 0
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
44 #ifdef BROKEN_FIONREAD
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
45 #undef BROKEN_FIONREAD
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
46 #endif
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
47 #ifndef INTERRUPT_INPUT
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
48 #define INTERRUPT_INPUT
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
49 #endif
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
50 #endif
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
51
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
52 /* Under DGUX 5.4R3.00, getting a debuggable executable has been
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
53 greatly simplified and applies to either COFF or ELF
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
54 environments. */
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
55
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
56 #ifdef C_DEBUG_SWITCH
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
57 #undef C_DEBUG_SWITCH
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
58 #define C_DEBUG_SWITCH -g
719504ee9111 Initial revision
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
59 #endif