[or-cvs] Work on systems with broken AC_CHECK_TYPE

Nick Mathewson nickm at seul.org
Mon Aug 11 23:21:53 UTC 2003


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv5251/src/common

Modified Files:
	torint.h 
Log Message:
Work on systems with broken AC_CHECK_TYPE

Index: torint.h
===================================================================
RCS file: /home/or/cvsroot/src/common/torint.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- torint.h	11 Aug 2003 21:16:13 -0000	1.3
+++ torint.h	11 Aug 2003 23:21:51 -0000	1.4
@@ -15,6 +15,31 @@
 #endif
 
 
+#if (SIZEOF_INT8_T != 0)
+#define HAVE_INT8_T
+#endif
+#if (SIZEOF_INT16_T != 0)
+#define HAVE_INT16_T
+#endif
+#if (SIZEOF_INT32_T != 0)
+#define HAVE_INT32_T
+#endif
+#if (SIZEOF_INT64_T != 0)
+#define HAVE_INT64_T
+#endif
+#if (SIZEOF_UINT8_T != 0)
+#define HAVE_UINT8_T
+#endif
+#if (SIZEOF_UINT16_T != 0)
+#define HAVE_UINT16_T
+#endif
+#if (SIZEOF_UINT32_T != 0)
+#define HAVE_UINT32_T
+#endif
+#if (SIZEOF_UINT64_T != 0)
+#define HAVE_UINT64_T
+#endif
+
 #if (SIZEOF_CHAR == 1)
 #ifndef HAVE_INT8_T
 typedef signed char int8_t;



More information about the tor-commits mailing list