comparison mercurial/mpatch.c @ 4073:95ffa36d1d2a

BeOS compatibility support
author Andrew Bachmann <andrewbachmann@gmail.com>
date Tue, 02 Jan 2007 21:40:20 -0800
parents cc856c4d91ca
children 4759da3e4dc8
comparison
equal deleted inserted replaced
4072:e916bc0dfdd6 4073:95ffa36d1d2a
40 ((x & 0xff000000UL) >> 24); 40 ((x & 0xff000000UL) >> 24);
41 } 41 }
42 #else 42 #else
43 /* not windows */ 43 /* not windows */
44 # include <sys/types.h> 44 # include <sys/types.h>
45 # include <arpa/inet.h> 45 # ifdef __BEOS__
46 # include <ByteOrder.h>
47 # else
48 # include <arpa/inet.h>
49 # endif
46 # include <inttypes.h> 50 # include <inttypes.h>
47 #endif 51 #endif
48 52
49 static char mpatch_doc[] = "Efficient binary patching."; 53 static char mpatch_doc[] = "Efficient binary patching.";
50 static PyObject *mpatch_Error; 54 static PyObject *mpatch_Error;