mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fixed compiler error if LZO is not installed.
This commit is contained in:
parent
ff3f63c31f
commit
76c6cd0337
2 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ struct os_aio_slot_t{
|
|||
#ifdef HAVE_LZO
|
||||
byte lzo_mem[LZO1X_1_15_MEM_COMPRESS];
|
||||
#else
|
||||
byte lzo_mem; /* Temporal memory used by LZO */
|
||||
byte lzo_mem[1]; /* Temporal memory used by LZO */
|
||||
#endif
|
||||
|
||||
};
|
||||
|
|
|
@ -237,7 +237,7 @@ struct os_aio_slot_t{
|
|||
#ifdef HAVE_LZO
|
||||
byte lzo_mem[LZO1X_1_15_MEM_COMPRESS];
|
||||
#else
|
||||
byte lzo_mem; /* Temporal memory used by LZO */
|
||||
byte lzo_mem[1]; /* Temporal memory used by LZO */
|
||||
#endif
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue