diff --git a/app/src/compat.h b/app/src/compat.h index 311d617d..62435718 100644 --- a/app/src/compat.h +++ b/app/src/compat.h @@ -8,8 +8,10 @@ #ifndef __WIN32 # define PRIu64_ PRIu64 +# define SC_PRIsizet "zu" #else # define PRIu64_ "I64u" // Windows... +# define SC_PRIsizet "Iu" #endif // In ffmpeg/doc/APIchanges: diff --git a/app/src/util/process.h b/app/src/util/process.h index 90920620..4d9d1684 100644 --- a/app/src/util/process.h +++ b/app/src/util/process.h @@ -12,8 +12,6 @@ # include # include # define SC_PRIexitcode "lu" -// -# define SC_PRIsizet "Iu" # define SC_PROCESS_NONE NULL # define SC_EXIT_CODE_NONE -1UL // max value as unsigned long typedef HANDLE sc_pid; @@ -23,7 +21,6 @@ #else # include -# define SC_PRIsizet "zu" # define SC_PRIexitcode "d" # define SC_PROCESS_NONE -1 # define SC_EXIT_CODE_NONE -1