Skip to content

Commit 84a56ef

Browse files
ossy-szegedrerobika
authored andcommitted
Fix undefined references build error on Windows (#3212)
We should emit symbol for ecma_make_nan_value (void), because it is used by unit-core/test-to-integer.c and test-to-length.c. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác [email protected]
1 parent fc2a2f9 commit 84a56ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jerry-core/ecma/base/ecma-helpers-value.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ ecma_make_float_value (ecma_number_t *ecma_num_p) /**< pointer to the float numb
463463
*
464464
* @return ecma-value
465465
*/
466-
inline ecma_value_t JERRY_ATTR_ALWAYS_INLINE
466+
extern inline ecma_value_t JERRY_ATTR_ALWAYS_INLINE
467467
ecma_make_nan_value (void)
468468
{
469469
return ecma_create_float_number (ecma_number_make_nan ());

0 commit comments

Comments
 (0)