diff --git a/stub/cbits/stub.cpp b/stub/cbits/stub.cpp index 03c00dc9abf85bdb01f5151cc535a741ff156a77..0e6c3cc194c06427ade39a6f1bbd1796db95f05d 100644 --- a/stub/cbits/stub.cpp +++ b/stub/cbits/stub.cpp @@ -762,7 +762,7 @@ static int handle_command(Socket& sock, const char *buf, uint32_t cmd_len) { // Using the function just produces garbage.. no idea why write_string(resp, ip.table_name); -#if MIN_VERSION_GLASGOW_HASKELL(9,11,0,0) +#if MIN_VERSION_GLASGOW_HASKELL(9,10,0,0) // In 9.10, GHC changed the closure_desc to uint32_t. // To maintain the previous behaviour, we format the id as its string // representation. For example, the number 10 is represented as the