mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 23:47:37 -04:00
default compiler on some tier-2 architectures like powerpc and sparc64, by using identical types from C's <stdint.h> rather than C++'s <cstdint> header file. While here, convert to USES+=localbase. PR: 225171 Reported by: jhibbits
15 lines
314 B
C++
15 lines
314 B
C++
--- SFconv/UtfCodec.h.orig 2017-06-23 19:39:26 UTC
|
|
+++ SFconv/UtfCodec.h
|
|
@@ -28,11 +28,7 @@ of the License or (at your option) any l
|
|
|
|
#include <cstddef>
|
|
#include <cstdlib>
|
|
-#include <cstdint>
|
|
-
|
|
-using std::int8_t;
|
|
-using std::uint8_t;
|
|
-using std::ptrdiff_t;
|
|
+#include <stdint.h>
|
|
|
|
typedef uint32_t uchar_t;
|
|
|