freebsd-ports/audio/freealut/files/patch-src_alutInternal.h
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

27 lines
637 B
C

--- src/alutInternal.h.orig 2006-05-08 09:28:07 UTC
+++ src/alutInternal.h
@@ -13,23 +13,8 @@
#if HAVE_STDINT_H
#include <stdint.h>
-#elif _MSC_VER < 1300
-typedef char int8_t;
-typedef unsigned char uint8_t;
-typedef short int16_t;
-typedef unsigned short uint16_t;
-typedef int int32_t;
-typedef unsigned int uint32_t;
-#elif HAVE_BASETSD_H
-#include <basetsd.h>
-typedef INT8 int8_t;
-typedef UINT8 uint8_t;
-typedef INT16 int16_t;
-typedef UINT16 uint16_t;
-typedef INT32 int32_t;
-typedef UINT32 uint32_t;
#else
-#error Do not know sized types on this platform
+#include <inttypes.h>
#endif
typedef int16_t Int16BigEndian;