mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
Fixed compiler error if LZO is not installed.
This commit is contained in:
@@ -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
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user