Changes to make work on Cygwin. However probably need a more general

test for timezone being extern long.
This commit is contained in:
rocky
2005-10-27 03:03:42 +00:00
parent 8881e6b50d
commit 2ee302e4f8
3 changed files with 31 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: udf_private.h,v 1.2 2005/10/26 02:05:54 rocky Exp $
$Id: udf_private.h,v 1.3 2005/10/27 03:03:43 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -18,6 +18,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __CDIO_UDF_PRIVATE_H__
#define __CDIO_UDF_PRIVATE_H__
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <cdio/types.h>
#include <cdio/ecma_167.h>
#include <cdio/udf.h>
@@ -55,3 +62,13 @@ struct udf_file_s
udf_fileid_desc_t *fid;
};
#endif /* __CDIO_UDF_PRIVATE_H__ */
/*
* Local variables:
* c-file-style: "gnu"
* tab-width: 8
* indent-tabs-mode: nil
* End:
*/

View File

@@ -39,8 +39,16 @@
* http://www.boulder.nist.gov/timefreq/pubs/bulletin/leapsecond.htm
*/
#include <cdio/udf.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef NEED_TIMEZONEVAR
#define timezonevar 1
#endif
#include "udf_private.h"
#include <cdio/udf.h>
#define EPOCH_YEAR 1970