# HG changeset patch # User Danek Duvall # Date 1479850325 28800 # Node ID d7a05d8351d064be80127cac88e22b2452a92a71 # Parent 002fa4d7946627a2f78ae3a770e1a7a7d82391e0 zstd: fix compilation with Solaris Studio Without these changes, Solaris Studio (12.4) gives us "syntax error: empty declaration" on these two lines. diff -r 002fa4d79466 -r d7a05d8351d0 contrib/python-zstandard/c-ext/compressionparams.c --- a/contrib/python-zstandard/c-ext/compressionparams.c Mon Nov 21 21:36:46 2016 -0500 +++ b/contrib/python-zstandard/c-ext/compressionparams.c Tue Nov 22 13:32:05 2016 -0800 @@ -136,7 +136,7 @@ static Py_ssize_t CompressionParameters_length(PyObject* self) { return 7; -}; +} static PyObject* CompressionParameters_item(PyObject* o, Py_ssize_t i) { CompressionParametersObject* self = (CompressionParametersObject*)o; diff -r 002fa4d79466 -r d7a05d8351d0 contrib/python-zstandard/c-ext/dictparams.c --- a/contrib/python-zstandard/c-ext/dictparams.c Mon Nov 21 21:36:46 2016 -0500 +++ b/contrib/python-zstandard/c-ext/dictparams.c Tue Nov 22 13:32:05 2016 -0800 @@ -42,7 +42,7 @@ static Py_ssize_t DictParameters_length(PyObject* self) { return 4; -}; +} static PyObject* DictParameters_item(PyObject* o, Py_ssize_t i) { DictParametersObject* self = (DictParametersObject*)o;