Skip to content

Commit 6c03e0f

Browse files
ossy-szegeddbatyai
authored andcommitted
Fix undefined references build error on Windows (#3134)
We should emit function symbols for ecma_get_magic_string function, because it is used by unit-test-stringbuilder.c. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
1 parent b1115fb commit 6c03e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ ecma_new_ecma_string_from_number (ecma_number_t num) /**< ecma-number */
623623
*
624624
* @return pointer to ecma-string descriptor
625625
*/
626-
inline ecma_string_t * JERRY_ATTR_ALWAYS_INLINE
626+
extern inline ecma_string_t * JERRY_ATTR_ALWAYS_INLINE
627627
ecma_get_magic_string (lit_magic_string_id_t id) /**< identifier of magic string */
628628
{
629629
JERRY_ASSERT (id < LIT_MAGIC_STRING__COUNT);

0 commit comments

Comments
 (0)