Skip to content

Commit

Permalink
fixed emscripten build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Dec 22, 2023
1 parent 82487ea commit 128ca64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/gpac/download.h
Expand Up @@ -666,6 +666,7 @@ u32 gf_dm_get_global_rate(GF_DownloadManager *dm);
void gf_dm_set_data_rate(GF_DownloadManager *dm, u32 rate_in_bits_per_sec);
GF_DownloadManager *gf_dm_new(GF_DownloadFilterSession *fsess);
void gf_dm_del(GF_DownloadManager *dm);
void gf_dm_sess_set_netcap_id(GF_DownloadSession *sess, const char *netcap_id);


#endif //GPAC_CONFIG_EMSCRIPTEN
Expand Down
3 changes: 2 additions & 1 deletion src/utils/os_divers.c
Expand Up @@ -2166,9 +2166,10 @@ Bool gf_sys_get_rti_os(u32 refresh_time_ms, GF_SystemRTInfo *rti, u32 flags)
u32 entry_time;
u64 process_u_k_time;
u32 u_k_time, idle_time;
#ifndef GPAC_CONFIG_EMSCRIPTEN
char szProc[100];
char line[2048];

#endif
gf_assert(sys_init);

entry_time = gf_sys_clock();
Expand Down

0 comments on commit 128ca64

Please sign in to comment.