Mercurial > hg
changeset 30498:d7a05d8351d0
zstd: fix compilation with Solaris Studio
Without these changes, Solaris Studio (12.4) gives us "syntax error: empty
declaration" on these two lines.
author | Danek Duvall <danek.duvall@oracle.com> |
---|---|
date | Tue, 22 Nov 2016 13:32:05 -0800 |
parents | 002fa4d79466 |
children | 22d05b53b0e8 |
files | contrib/python-zstandard/c-ext/compressionparams.c contrib/python-zstandard/c-ext/dictparams.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;