summaryrefslogtreecommitdiff
path: root/media-gfx/exact-image/files/exact-image-1.2.1-dcraw.patch
blob: 41a0b0dfef9f16c4e8f3020f74aeea8ab7d74aac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/codecs/dcraw.h	2020-09-10 08:42:19.905105346 +0200
+++ b/codecs/dcraw.h	2020-09-10 08:47:50.826316874 +0200
@@ -96,6 +96,14 @@
 #define ushort unsigned short
 #endif
 
+#undef SEEK_SET
+#undef SEEK_CUR
+#undef SEEK_END
+
+#define SEEK_SET std::ios::beg
+#define SEEK_CUR std::ios::cur
+#define SEEK_END std::ios::end
+
 namespace dcraw {
 
 /*