diff options
| author | John Hurst <jhurst@cinecert.com> | 2021-08-26 20:44:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 20:44:10 -0700 |
| commit | ef5881232511e629b1ff18e4d2f5323e3e6c1814 (patch) | |
| tree | 6af6cc8f62fea6cf541e6a938cc2952c3e4480e2 /src | |
| parent | 53e27f364c39cd70e34c05aeab4afcbeaf116b49 (diff) | |
| parent | 5f637ed1db48f495379c42168491e8af84e70f92 (diff) | |
Merge pull request #12 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/protect_printf_definitions
Protecting snprintf and vsnprintf definitions that makes compilation with boost 1.73 to fail
Diffstat (limited to 'src')
| -rw-r--r-- | src/KM_platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KM_platform.h b/src/KM_platform.h index 3e50e54..747f6fc 100644 --- a/src/KM_platform.h +++ b/src/KM_platform.h @@ -52,8 +52,12 @@ typedef unsigned __int64 ui64_t; typedef __int64 i64_t; # define i64_C(c) (i64_t)(c) # define ui64_C(c) (ui64_t)(c) +# if !defined snprintf && defined _snprintf # define snprintf _snprintf +# endif +# if !defined vsnprintf && defined _vsnprintf # define vsnprintf _vsnprintf +# endif # else // KM_WIN32 typedef unsigned long long ui64_t; |
