Skip to content

Commit

Permalink
Merge pull request #39 from gpoo/fix-vasprintf-implicit-declaration
Browse files Browse the repository at this point in the history
Fix implicit declaration of vasprintf
  • Loading branch information
jlaurens committed Jun 18, 2020
2 parents 7f11211 + 2897465 commit 4b0590e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synctex_parser.c
Expand Up @@ -83,6 +83,11 @@
* First level objects are sheets and forms, containing boxes, glues, kerns...
* The third tree allows to browse leaves according to tag and line.
*/
/* Declare _GNU_SOURCE for accessing vasprintf. For MSC compiler, vasprintf is
* defined in this file
*/
#define _GNU_SOURCE

# if defined(SYNCTEX_USE_LOCAL_HEADER)
# include "synctex_parser_local.h"
# else
Expand Down

0 comments on commit 4b0590e

Please sign in to comment.