1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Incorporate lutzmader's patches

This commit is contained in:
William Langford
2018-11-12 08:17:30 -05:00
parent 1adbf3cfb3
commit d5a0f3f7b2
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#ifndef __sun__
# define _XOPEN_SOURCE
# define _XOPEN_SOURCE_EXTENDED 1
#elif defined _AIX
# define _XOPEN_SOURCE 700
#else
# define _XPG6
# define __EXTENSIONS__

View File

@ -198,7 +198,11 @@ jv jv_object_iter_value(jv, int);
int jv_get_refcnt(jv);
#ifdef _AIX
enum {
#else
enum jv_print_flags {
#endif
JV_PRINT_PRETTY = 1,
JV_PRINT_ASCII = 2,
JV_PRINT_COLOR = 4, JV_PRINT_COLOUR = 4,