[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Initial IRIX compatibility fixes: check for inttypes.h; che...



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

Modified Files:
	or.h 
Log Message:
Initial IRIX compatibility fixes: check for inttypes.h; check for platform cell_t.

Index: or.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.536
retrieving revision 1.537
diff -u -d -r1.536 -r1.537
--- or.h	22 Feb 2005 00:53:08 -0000	1.536
+++ or.h	22 Feb 2005 04:26:45 -0000	1.537
@@ -128,6 +128,12 @@
 #include "../common/util.h"
 #include "../common/torgzip.h"
 
+#if (SIZEOF_CELL_T != 0)
+/* On Irix, stdlib.h defines a cell_t type, so we need to make sure
+ * that our stuff always calls cell_t something different. */
+#define cell_t tor_cell_t
+#endif
+
 /** Define this if you want Tor to crash when any problem comes up,
  * so you can get a coredump and track things down. */
 #undef TOR_FRAGILE