From b53c86e88b3c0020977dbc4557a1fa7c3879849e Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 11 Mar 2011 14:25:31 +0000 Subject: fix synctex compile error git-svn-id: svn://tug.org/texlive/trunk@21689 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/synctexdir/synctex_parser_utils.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h index 17c72110db8..91e33839329 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h +++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2008, 2009, 2010 , 2011 jerome DOT laurens AT u-bourgogne DOT fr +Copyright (c) 2008, 2009, 2010, 2011 jerome DOT laurens AT u-bourgogne DOT fr This file is part of the SyncTeX package. @@ -110,15 +110,19 @@ static const char * synctex_suffix = ".synctex"; static const char * synctex_suffix_gz = ".gz"; typedef unsigned int synctex_io_mode_t; +enum { + synctex_io_mode_read = 0 +}; typedef enum { synctex_io_append_mask = 1, synctex_io_gz_mask = synctex_io_append_mask<<1 } synctex_io_mode_masks_t; -enum { - synctex_io_mode_read = 0 -}; +typedef enum { + synctex_compress_mode_none = 0, + synctex_compress_mode_gz = 1 +} synctex_compress_mode_t; int _synctex_get_name(const char * output, const char * build_directory, char ** synctex_name_ref, synctex_io_mode_t * io_mode_ref); -- cgit v1.2.3