Skip to content

Commit

Permalink
fixed GF_STATIC definition in b7c020d
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed May 6, 2024
1 parent b7c020d commit 2241cc9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 0 additions & 3 deletions include/gpac/configuration.h
Expand Up @@ -221,9 +221,6 @@ This section documents the base data types of GPAC.
#error "Unknown target platform used with static configuration file"
#endif

/*needed for unittests (disabled)*/
#define GF_STATIC static

/*disables player */
//#define GPAC_DISABLE_COMPOSITOR

Expand Down
6 changes: 6 additions & 0 deletions include/gpac/setup.h
Expand Up @@ -857,6 +857,12 @@ size_t gf_strlcpy(char *dst, const char *src, size_t dsize);
#endif
#endif


/*needed for unittests (disabled)*/
#ifndef GF_STATIC
#define GF_STATIC static
#endif

#ifdef __cplusplus
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/utils/xml_parser.c
Expand Up @@ -44,7 +44,7 @@

static GF_Err gf_xml_sax_parse_intern(GF_SAXParser *parser, char *current);

GF_STATIC char *xml_translate_xml_string(char *str)
static char *xml_translate_xml_string(char *str)
{
char *value;
u32 size, i, j;
Expand Down

0 comments on commit 2241cc9

Please sign in to comment.