From 3be8d6e6de76ca3f83368df326497661b427b41c Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <barracuda@macos-powerpc.org>
Date: Sat, 2 Nov 2024 10:33:19 +0800
Subject: [PATCH] timg.cc: define __STDC_FORMAT_MACROS if undefined
---
src/timg.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git src/timg.cc src/timg.cc
index 77c08e7..5afef64 100644
|
|
|
61 | 61 | # include <poppler.h> |
62 | 62 | #endif |
63 | 63 | |
| 64 | #ifndef __STDC_FORMAT_MACROS |
| 65 | #define __STDC_FORMAT_MACROS |
| 66 | #endif |
| 67 | |
64 | 68 | #include <errno.h> |
65 | 69 | #include <fcntl.h> |
66 | 70 | #include <getopt.h> |
67 | | #include <inttypes.h> |
| 71 | #include <cinttypes> |
68 | 72 | #include <libswscale/swscale.h> // Only needed for version. |
69 | 73 | #include <math.h> |
70 | 74 | #include <signal.h> |