1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/misc/astrolog/files/patch-ab
Andrey A. Chernov 7b31014788 upgrade to 5.40
1999-04-03 02:02:16 +00:00

22 lines
725 B
Plaintext

--- 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