Skip to content

Commit 2feb8c0

Browse files
committed
support for 64 bit targets
1 parent 3f098f3 commit 2feb8c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ An exercise in minimalism.
55

66
Try the following:
77

8-
gcc -o c4 c4.c (you may need the -m32 option on 64bit machines)
8+
gcc -o c4 c4.c
99
./c4 hello.c
1010
./c4 -s hello.c
1111

c4.c

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <memory.h>
1212
#include <unistd.h>
1313
#include <fcntl.h>
14+
#define int long long
1415

1516
char *p, *lp, // current position in source code
1617
*data; // data/bss pointer

0 commit comments

Comments
 (0)