blob: 1c4f9a99db83c559f105e32e51a68bfcf5dd8c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
This file is part of MXE.
See index.html for further information.
--- a/GNUmakefile 2012-12-08 08:05:26.678456631 +0100
+++ b/GNUmakefile 2012-12-08 08:13:02.002469110 +0100
@@ -130,7 +130,7 @@
# cross compiling.
pm_config.h: \
- $(SRCDIR)/pm_config.in.h Makefile.config inttypes_netpbm.h $(ENDIANGEN)
+ $(SRCDIR)/pm_config.in.h Makefile.config
echo '/* pm_config.h GENERATED BY A MAKE RULE */' >$@ || $(DELETEIT)
echo '#ifndef PM_CONFIG_H' >>$@ || $(DELETEIT)
echo '#define PM_CONFIG_H' >>$@ || $(DELETEIT)
@@ -150,7 +150,17 @@
endif
echo '/* pm_config.h.in FOLLOWS ... */' >>$@ || $(DELETEIT)
cat $(SRCDIR)/pm_config.in.h >>$@ || $(DELETEIT)
- $(ENDIANGEN) >>$@ || $(DELETEIT)
+ echo '#include <ctype.h>' >>$@ || $(DELETEIT)
+ echo '#ifndef LITTLE_ENDIAN' >>$@ || $(DELETEIT)
+ echo '#define LITTLE_ENDIAN 1234' >>$@ || $(DELETEIT)
+ echo '#endif' >>$@ || $(DELETEIT)
+ echo '#ifndef BIG_ENDIAN' >>$@ || $(DELETEIT)
+ echo '#define BIG_ENDIAN 4321' >>$@ || $(DELETEIT)
+ echo '#endif' >>$@ || $(DELETEIT)
+ echo '#ifndef BYTE_ORDER' >>$@ || $(DELETEIT)
+ echo '#define BYTE_ORDER LITTLE_ENDIAN' >>$@ || $(DELETEIT)
+ echo '#endif' >>$@ || $(DELETEIT)
+ echo '#define BITS_PER_WORD 32' >>$@ || $(DELETEIT)
echo '#endif' >>$@ || $(DELETEIT)
--- a/urt/rle_open_f.c 2012-12-06 11:19:45.850521658 +0100
+++ b/urt/rle_open_f.c 2012-12-06 11:19:57.794521308 +0100
@@ -15,14 +15,14 @@
#include <unistd.h>
#include <fcntl.h>
+#include "rle.h"
+
#ifndef NO_OPEN_PIPES
/* Need to have a SIGCLD signal catcher. */
#include <signal.h>
#include <sys/wait.h>
#include <errno.h>
-#include "rle.h"
-
/* Count outstanding children. Assume no more than 100 possible. */
#define MAX_CHILDREN 100
static int catching_children = 0;
|