summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-20 19:08:56 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-20 19:08:56 +0000
commitef87ddc7a937a061011e896f87eed778e2236729 (patch)
tree6edc4ec9e88ee6f41e5997dc4fc6f5425e53565b /etc
parent889ffcd6c07bfc11bddefe50e6051f992d3ebd14 (diff)
downloadmpv-ef87ddc7a937a061011e896f87eed778e2236729.tar.bz2
mpv-ef87ddc7a937a061011e896f87eed778e2236729.tar.xz
/usr//include/inttypes.h for CYGWIN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4288 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'etc')
-rw-r--r--etc/cygwin_inttypes.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/etc/cygwin_inttypes.h b/etc/cygwin_inttypes.h
new file mode 100644
index 0000000000..0c17b1d1d1
--- /dev/null
+++ b/etc/cygwin_inttypes.h
@@ -0,0 +1,29 @@
+#ifndef _CYGWIN_INTTYPES_H
+#define _CYGWIN_INTTYPES_H
+/* /usr/include/inttypes.h for CYGWIN
+ * Copyleft 2001-2002 by Felix Buenemann
+ * <atmosfear at users.sourceforge.net>
+ *
+ * Should be installed into /usr/include
+ * as inttypes.h
+ */
+#if 0
+typedef char * caddr_t;
+typedef char int8_t;
+typedef unsigned char u_int8_t;
+typedef short int16_t;
+typedef unsigned short u_int16_t;
+typedef int int32_t;
+typedef unsigned int u_int32_t;
+typedef long long int64_t;
+typedef unsigned long long u_int64_t;
+typedef int32_t register_t;
+#else
+#include <sys/types.h>
+#endif /* 0/1 */
+typedef u_int8_t uint8_t;
+typedef u_int16_t uint16_t;
+typedef u_int32_t uint32_t;
+typedef u_int64_t uint64_t;
+#endif /* _CYGWIN_INTTYPES_H */
+