Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed May 20, 2019
1 parent 12738c5 commit fbf599f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wvdecrypter/cdm/media/cdm/cdm_adapter.cc
Expand Up @@ -21,8 +21,10 @@ int clock_gettime(int clk_id, struct timespec* t) {
t->tv_nsec = now.tv_usec * 1000;
return 0;
}
#ifndef CLOCK_REALTIME
#define CLOCK_REALTIME 1
#endif
#endif

namespace media {

Expand Down Expand Up @@ -125,7 +127,7 @@ void CdmAdapter::Initialize()
#if defined(OS_WIN)
library_ = base::LoadNativeLibraryDynamically(cdm_path_);
#else
library_ = base::LoadNativeLibrary(cdm_path, 0);
library_ = base::LoadNativeLibrary(cdm_path_, 0);
#endif
if (!library_)
return;
Expand Down

0 comments on commit fbf599f

Please sign in to comment.