ports/audio/musescore3/files/patch-all.h
Adriaan de Groot 8de7c0df73 audio/musescore3: re-introduce version 3
Version 3 of MuseScore was, well, the decently Open-Source version of
MuseScore. It also does engraving somewhat differently from version 4,
and some folks prefer that.

PR:		273965
Provided by:	Keith White
2024-02-27 19:40:50 +01:00

27 lines
594 B
C++

--- all.h.orig 2021-02-06 15:14:17 UTC
+++ all.h
@@ -34,12 +34,12 @@
#define _HAS_AUTO_PTR_ETC 1
#endif
-#include <stdio.h>
-#include <limits.h>
+#include <cstdio>
+#include <climits>
#include <map>
#include <set>
#include <deque>
-#include <errno.h>
+#include <cerrno>
#include <fcntl.h>
// VStudio does not have <unistd.h>, <io.h> & <process.h> replace many functions from it...
#if (defined (_MSCVER) || defined (_MSC_VER))
@@ -48,7 +48,7 @@
#else
#include <unistd.h>
#endif
-#include <math.h>
+#include <cmath>
#include <array>
#include <functional>
#include <memory>