diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-11 14:25:31 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-11 14:25:31 +0000 |
commit | b53c86e88b3c0020977dbc4557a1fa7c3879849e (patch) | |
tree | 2db334e8540884248a1f9bfb42323ac65c7c12f6 | |
parent | a7b11fef21bc9bec8d0e46a597091bc3cf2ea9aa (diff) |
fix synctex compile error
git-svn-id: svn://tug.org/texlive/trunk@21689 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex_parser_utils.h | 12 |
1 files changed, 8 insertions, 4 deletions
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); |