blob: 55563c4e077aa96bb97c0cb906b69b3c493818f5 (
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
|
--- memdump-1.01.orig/makedefs
+++ memdump-1.01/makedefs
@@ -30,9 +30,7 @@
SunOS.5*) DEFS="-DSUNOS5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
RANLIB=":"
;;
- Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
- ;;
- Linux.2*) DEFS="-DLINUX2"
+ Linux.*) DEFS="-DLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
;;
*) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1
;;
--- memdump-1.01.orig/memdump.c
+++ memdump-1.01/memdump.c
@@ -118,7 +118,7 @@
#define SUPPORTED
#endif
-#ifdef LINUX2
+#ifdef LINUX
#include <paths.h>
#define GETPAGESIZE getpagesize
#define SUPPORTED
|