Move SC_PRIsizet to compat.h
Define the printf format macro for size_t in compat.h so that it can be used from anywhere. PR #3005 <https://github.com/Genymobile/scrcpy/pull/3005>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user