{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1753077137,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"80ca383044f08c5a38988c0ce2345202",
"commit": {"type":"commit",
"time": 1748966014,
"time_ofs": 60,
"oid_tree": { "oid": "058c421b211fdb5aea3a8493dcc8c10eb1db6b38", "alias": []},
"oid":{ "oid": "967d9b23de5a3940250961d7a26731f6ae13d04f", "alias": []},
"msg": "qt: undef emit if left in the preprocessor by qt",
"sig_commit": { "git_time": { "time": 1748966014, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1748965989, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "qt: undef emit if left in the preprocessor by qt\n\nhttps://github.com/warmcat/libwebsockets/issues/2919\n"
,
"diff": "diff --git a/include/libwebsockets/lws-logs.h b/include/libwebsockets/lws-logs.h\nindex 9097caf..d7f5e88 100644\n--- a/include/libwebsockets/lws-logs.h\n+++ b/include/libwebsockets/lws-logs.h\n@@ -79,6 +79,10 @@ typedef void (*lws_log_use_cx_t)(struct lws_log_cx *cx, int _new);\n \n typedef struct lws_log_cx {\n \tunion {\n+/* Apparently Qt likes to leave 'emit' defined at the preprocessor */\n+#if defined(emit)\n+#undef emit\n+#endif\n \t\tlws_log_emit_t\t\temit; /* legacy emit function */\n \t\tlws_log_emit_cx_t\temit_cx; /* LLLF_LOG_CONTEXT_AWARE */\n \t} u;\n","s":{"c":1753077137,"u": 2196}}
],"g": 3536,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}