summaryrefslogtreecommitdiff
path: root/misc/astrolog/patches/patch-ab
blob: 8da349f1e688534bd3530160336188bdcb1e0411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
*** astrolog.h.orig	Sun Feb  2 23:06:03 1997
--- astrolog.h	Thu May 29 05:06:03 1997
***************
*** 82,92 ****
  #define ENVIRON /* Comment out this #define if your system doesn't have  */
                  /* environment variables or can't compile calls to them. */
  
! #define ATOF /* Comment out this #define if you have a system in which  */
               /* 'atof' and related functions aren't defined in stdio.h, */
               /* such as most PC's, Linux, VMS compilers, and NeXT's.    */
  
! /*#define PROTO /* Comment out this #define if you have an older compiler   */
                /* which doesn't allow full Ansi function prototypes. This  */
                /* is for programmers only and has no effect on executable. */
  
--- 82,92 ----
  #define ENVIRON /* Comment out this #define if your system doesn't have  */
                  /* environment variables or can't compile calls to them. */
  
! /*#define ATOF /* Comment out this #define if you have a system in which  */
               /* 'atof' and related functions aren't defined in stdio.h, */
               /* such as most PC's, Linux, VMS compilers, and NeXT's.    */
  
! #define PROTO /* Comment out this #define if you have an older compiler   */
                /* which doesn't allow full Ansi function prototypes. This  */
                /* is for programmers only and has no effect on executable. */
  
***************
*** 131,137 ****
--- 131,139 ----
  */
  
  #ifndef PC
+ #ifndef DEFAULT_DIR
  #define DEFAULT_DIR "~/astrolog"
+ #endif
  #else
  #define DEFAULT_DIR "C:\\ASTROLOG"
  #endif