summaryrefslogtreecommitdiff
path: root/misc/astrolog/files/patch-ab
blob: 47aa54291c93a682311b42babd67cac6108541d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- astrolog.h.orig	Wed Dec 23 23:29:51 1998
+++ astrolog.h	Sat Apr  3 05:41:04 1999
@@ -86,7 +86,7 @@
              /* '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   */
+#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,7 +131,9 @@
 */
 
 #ifndef PC
+#ifndef DEFAULT_DIR
 #define DEFAULT_DIR "~/astrolog"
+#endif
 #else
 #define DEFAULT_DIR "C:\\ASTROLOG"
 #endif