mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
7a50961592
in LOCAL_PORTS because those out on the 'net can't agree on the right size and include DOS executables and such. PR: 3407 Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
34 lines
953 B
Plaintext
34 lines
953 B
Plaintext
*** main.c.orig Tue Apr 15 01:07:37 1997
|
|
--- main.c Tue Apr 15 01:33:16 1997
|
|
***************
|
|
*** 16,22 ****
|
|
#include <signal.h>
|
|
#include <setjmp.h>
|
|
#include <math.h>
|
|
! #ifdef VMS
|
|
#include <stdlib.h>
|
|
#endif
|
|
#include "astro.h"
|
|
--- 16,22 ----
|
|
#include <signal.h>
|
|
#include <setjmp.h>
|
|
#include <math.h>
|
|
! #if defined(VMS) || defined(unix)
|
|
#include <stdlib.h>
|
|
#endif
|
|
#include "astro.h"
|
|
***************
|
|
*** 51,57 ****
|
|
--- 51,61 ----
|
|
|
|
static jmp_buf fpe_err_jmp; /* used to recover from SIGFPE */
|
|
static char *cfgfile; /* !0 if -c used */
|
|
+ #ifdef unix
|
|
+ static char cfgdef[] = PREFIX "/share/ephem/ephem.cfg"; /* default configuration file name */
|
|
+ #else
|
|
static char cfgdef[] = "ephem.cfg"; /* default configuration file name */
|
|
+ #endif
|
|
static Now now; /* where when and how, right now */
|
|
static double tminc; /* hrs to inc time by each loop; RTC means use clock */
|
|
static int nstep; /* steps to go before stopping */
|