mirror of
https://github.com/xenia-project/snappy.git
synced 2024-11-30 06:30:42 +00:00
Partially fix public issue 50: Remove an extra comma from the end of some
enum declarations, as it seems the Sun compiler does not like it. Based on patch by Travis Vitek. git-svn-id: https://snappy.googlecode.com/svn/trunk@48 03e5f5b5-db94-4691-08a0-1a8bf15f6143
This commit is contained in:
parent
f1063a5dc4
commit
593002da3c
@ -121,11 +121,11 @@ typedef string DataEndingAtUnreadablePage;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum CompressorType {
|
enum CompressorType {
|
||||||
ZLIB, LZO, LIBLZF, QUICKLZ, FASTLZ, SNAPPY,
|
ZLIB, LZO, LIBLZF, QUICKLZ, FASTLZ, SNAPPY
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* names[] = {
|
const char* names[] = {
|
||||||
"ZLIB", "LZO", "LIBLZF", "QUICKLZ", "FASTLZ", "SNAPPY",
|
"ZLIB", "LZO", "LIBLZF", "QUICKLZ", "FASTLZ", "SNAPPY"
|
||||||
};
|
};
|
||||||
|
|
||||||
static size_t MinimumRequiredOutputSpace(size_t input_size,
|
static size_t MinimumRequiredOutputSpace(size_t input_size,
|
||||||
|
Loading…
Reference in New Issue
Block a user