mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Sun Studio can not include static function from extern inline
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
committed by
Erik de Castro Lopo
parent
0196c0f44c
commit
349c6adcf7
@@ -79,7 +79,10 @@ struct FLAC__BitWriter {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* * WATCHOUT: The current implementation only grows the buffer. */
|
/* * WATCHOUT: The current implementation only grows the buffer. */
|
||||||
static FLAC__bool bitwriter_grow_(FLAC__BitWriter *bw, unsigned bits_to_add)
|
#ifndef __SUNPRO_C
|
||||||
|
static
|
||||||
|
#endif
|
||||||
|
FLAC__bool bitwriter_grow_(FLAC__BitWriter *bw, unsigned bits_to_add)
|
||||||
{
|
{
|
||||||
unsigned new_capacity;
|
unsigned new_capacity;
|
||||||
uint32_t *new_buffer;
|
uint32_t *new_buffer;
|
||||||
|
|||||||
Reference in New Issue
Block a user