blob: c96262ff59e9af1ec520c9b7a3a86e2a95d6911f (
plain) (
blame)
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
|
*** objx.c.orig Tue Apr 15 01:07:37 1997
--- objx.c Tue Apr 15 01:33:17 1997
***************
*** 6,12 ****
#include <stdio.h>
#include <math.h>
#include <ctype.h>
! #ifdef VMS
#include <stdlib.h>
#endif
#include "astro.h"
--- 6,12 ----
#include <stdio.h>
#include <math.h>
#include <ctype.h>
! #if defined(VMS) || defined(unix)
#include <stdlib.h>
#endif
#include "astro.h"
***************
*** 16,22 ****
--- 16,26 ----
extern char *strcat(), *strcpy(), *strncpy(), *getenv();
static char *dbfile; /* !0 if set by -d option */
+ #ifdef unix
+ static char dbfdef[] = PREFIX "/share/ephem/ephem.db"; /* default database file name */
+ #else
static char dbfdef[] = "ephem.db"; /* default database file name */
+ #endif
/* structures to describe objects of various types.
*/
|