void-packages/srcpkgs/plib/patches/musl-ushort.patch

12 lines
311 B
Diff

--- src/ssg/ssgLoadFLT.cxx 2008-03-11 03:06:23.000000000 +0100
+++ src/ssg/ssgLoadFLT.cxx 2015-10-31 15:45:55.426989776 +0100
@@ -142,7 +142,7 @@
typedef unsigned char ubyte;
-#ifdef UL_WIN32
+#if defined(UL_WIN32) || !defined(__GLIBC__)
typedef unsigned short ushort;
typedef unsigned int uint;
#endif