blob: 8ada86488986678696e3d3346e7de3339c9afe54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Source: https://mail-archives.apache.org/mod_mbox/mesos-reviews/201610.mbox/%3C20161014170728.1720.54446@reviews.apache.org%3E
Upstream: No
Reason: fixes compilation with musl that doesn't define W* macros.
--- a/src/widget.cc
+++ b/src/widget.cc
@@ -28,6 +28,10 @@
#include "vtegtk.hh"
#include "debug.h"
+#ifndef W_EXITCODE
+#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
+#endif
+
using namespace std::literals;
namespace vte {
|