]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ChangeLog, refclock_atom.c:
authorHarlan Stenn <stenn@ntp.org>
Sat, 16 Oct 1999 16:47:27 +0000 (16:47 -0000)
committerHarlan Stenn <stenn@ntp.org>
Sat, 16 Oct 1999 16:47:27 +0000 (16:47 -0000)
  * ntpd/refclock_atom.c (atom_pps): Portability patch
  From: John Hay <jhay@mikom.csir.co.za>

bk: 3808ac1fKimW7eqnmOUSg3ml3FkQ4w

ChangeLog
ntpd/refclock_atom.c

index fe5587b475ad8f3a1d32a11b2366d43ec8f8a7f4..b92f50910f30a50f563897a90383956e671fddd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
        * ntpd/refclock_atom.c (atom_poll): PPS cleanup
        From: Dave Mills <mills@udel.edu>
+       (atom_pps): Portability patch
+       From: John Hay <jhay@mikom.csir.co.za>
+
 
        * libntp/msyslog.c: 
        * libntp/gpstolfp.c: 
index 2ad6e2d8790d079ce286eb3fb626343328d42ece..9d506562513fdc7a88e34a006ffb1872c27e4889 100644 (file)
@@ -268,6 +268,7 @@ atom_pps(
        l_fp lftmp;
        double doffset;
        int i;
+#if defined(HAVE_CIOGETEV) || defined(HAVE_TIOCGPPSEV)
        int request = 
 #ifdef HAVE_CIOGETEV
                CIOGETEV
@@ -276,6 +277,7 @@ atom_pps(
                TIOCGPPSEV
 #endif
                ;
+#endif
 
        /*
         * This routine is called once per second when the LDISC_PPS