comparison liboctave/oct-time.cc @ 7016:93c65f2a5668

[project @ 2007-10-12 06:40:56 by jwe]
author jwe
date Fri, 12 Oct 2007 06:41:26 +0000
parents 9861dc5f382b
children a1dbe9d80eee
comparison
equal deleted inserted replaced
7015:0a708692d51d 7016:93c65f2a5668
4 4
5 This file is part of Octave. 5 This file is part of Octave.
6 6
7 Octave is free software; you can redistribute it and/or modify it 7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the 8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any 9 Free Software Foundation; either version 3 of the License, or (at your
10 later version. 10 option) any later version.
11 11
12 Octave is distributed in the hope that it will be useful, but WITHOUT 12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details. 15 for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, write to the Free 18 along with Octave; see the file COPYING. If not, see
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19 <http://www.gnu.org/licenses/>.
20 02110-1301, USA.
21 20
22 */ 21 */
23 22
24 #ifdef HAVE_CONFIG_H 23 #ifdef HAVE_CONFIG_H
25 #include <config.h> 24 #include <config.h>
104 ot_usec = tp.tv_usec; 103 ot_usec = tp.tv_usec;
105 104
106 #elif defined (OCTAVE_USE_WINDOWS_API) 105 #elif defined (OCTAVE_USE_WINDOWS_API)
107 106
108 // Loosely based on the code from Cygwin 107 // Loosely based on the code from Cygwin
109 // Copyright 1996-2002 Red Hat, Inc. 108 // Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
110 // Licenced under the GPL. 109 // Licenced under the GPL.
111 110
112 const LONGLONG TIME_OFFSET = 0x19db1ded53e8000LL; 111 const LONGLONG TIME_OFFSET = 0x19db1ded53e8000LL;
113 112
114 static int init = 1; 113 static int init = 1;