mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-31 13:40:35 +00:00
Revert "Fix macros for alloca/_alloca usage (not a source of problems in current code)."
This reverts commit 15b31be962
.
This commit is contained in:
parent
15b31be962
commit
e18c8c3ae4
1 changed files with 2 additions and 2 deletions
|
@ -182,10 +182,10 @@ typedef int fluid_socket_t;
|
|||
_type _name[_len]
|
||||
#elif defined HAVE_ALLOCA
|
||||
# define FLUID_DECLARE_VLA(_type, _name, _len) \
|
||||
_type * _name = (_type *)alloca((_len) * sizeof(_type))
|
||||
_type * _name = (_type *)alloca(_len * sizeof(_type))
|
||||
#elif defined HAVE__ALLOCA
|
||||
# define FLUID_DECLARE_VLA(_type, _name, _len) \
|
||||
_type * _name = (_type *)_alloca((_len) * sizeof(_type))
|
||||
_type * _name = (_type *)_alloca(_len * sizeof(_type))
|
||||
#else
|
||||
# define FLUID_DECLARE_VLA(_type, _name, _len) \
|
||||
_type* _name = g_newa(_type, (_len))
|
||||
|
|
Loading…
Reference in a new issue