File tree 4 files changed +9
-5
lines changed 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ Additional components:
28
28
The Unix version
29
29
----------------
30
30
31
- The "unix" part requires a standard Unix environment with gcc. It works
32
- only for 64-bit machines due to a small piece of x86-64 assembler for
33
- the exception handling.
31
+ The "unix" part requires a standard Unix environment with gcc and GNU make.
32
+ It works only for 64-bit machines due to a small piece of x86-64 assembler
33
+ for the exception handling.
34
34
35
35
To build:
36
36
Original file line number Diff line number Diff line change 7
7
#include "misc.h"
8
8
#include "asmx64.h"
9
9
10
+ #if defined(__OpenBSD__ )
11
+ #define MAP_ANONYMOUS MAP_ANON
12
+ #endif
13
+
10
14
/* all offsets are measured in multiples of 8 bytes */
11
15
#define WORD_SIZE (8)
12
16
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ BUILD=build
3
3
4
4
CC = gcc
5
5
CFLAGS = -I. -I$(PYSRC ) -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE # -DNDEBUG
6
- LDFLAGS = -lm
6
+ LDFLAGS = -lm -ltermcap
7
7
8
8
SRC_C = \
9
9
main.c \
Original file line number Diff line number Diff line change 1
1
#include <stdint.h>
2
2
#include <stdio.h>
3
3
#include <string.h>
4
- #include <malloc .h>
4
+ #include <stdlib .h>
5
5
6
6
#include "nlr.h"
7
7
#include "misc.h"
You can’t perform that action at this time.
0 commit comments