author | andyq <andyq> | 2002-10-10 11:55:04 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-10 11:55:04 (UTC) |
commit | 798474a96ae42503b9d73444d7a4c05d6af5bc10 (patch) (unidiff) | |
tree | 249b985ad346716b6b9041a70d26037784818c49 | |
parent | 4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699 (diff) | |
download | opie-798474a96ae42503b9d73444d7a4c05d6af5bc10.zip opie-798474a96ae42503b9d73444d7a4c05d6af5bc10.tar.gz opie-798474a96ae42503b9d73444d7a4c05d6af5bc10.tar.bz2 |
oops - forgot to comment out running on X86 (DOH!)
-rw-r--r-- | noncore/settings/aqpkg/global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/global.h b/noncore/settings/aqpkg/global.h index 4df2f15..1e23eb6 100644 --- a/noncore/settings/aqpkg/global.h +++ b/noncore/settings/aqpkg/global.h | |||
@@ -1,78 +1,78 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | global.h - description | 2 | global.h - description |
3 | ------------------- | 3 | ------------------- |
4 | begin : Mon Aug 26 2002 | 4 | begin : Mon Aug 26 2002 |
5 | copyright : (C) 2002 by Andy Qua | 5 | copyright : (C) 2002 by Andy Qua |
6 | email : andy.qua@blueyonder.co.uk | 6 | email : andy.qua@blueyonder.co.uk |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #ifndef __GLOBAL_H | 18 | #ifndef __GLOBAL_H |
19 | #define __GLOBAL_H | 19 | #define __GLOBAL_H |
20 | 20 | ||
21 | // Uncomment the below line to run on a Linux box rather than a Zaurus | 21 | // Uncomment the below line to run on a Linux box rather than a Zaurus |
22 | // box this allows you to change where root is, and where to load config files from | 22 | // box this allows you to change where root is, and where to load config files from |
23 | #define X86 | 23 | // #define X86 |
24 | 24 | ||
25 | // Sets up location of ipkg.conf and root directory | 25 | // Sets up location of ipkg.conf and root directory |
26 | #ifdef QWS | 26 | #ifdef QWS |
27 | 27 | ||
28 | #ifndef X86 | 28 | #ifndef X86 |
29 | 29 | ||
30 | // Running QT/Embedded on an arm processor | 30 | // Running QT/Embedded on an arm processor |
31 | #define IPKG_CONF "/etc/ipkg.conf" | 31 | #define IPKG_CONF "/etc/ipkg.conf" |
32 | #define ROOT "/" | 32 | #define ROOT "/" |
33 | #define IPKG_DIR "/usr/lib/ipkg/" | 33 | #define IPKG_DIR "/usr/lib/ipkg/" |
34 | 34 | ||
35 | #else | 35 | #else |
36 | 36 | ||
37 | // Running QT/Embedded on a X86 linux box | 37 | // Running QT/Embedded on a X86 linux box |
38 | #define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf" | 38 | #define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf" |
39 | #define ROOT "/home/andy/projects/aqpkg/aqpkg/data/root" | 39 | #define ROOT "/home/andy/projects/aqpkg/aqpkg/data/root" |
40 | #define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data/" | 40 | #define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data/" |
41 | 41 | ||
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #else | 44 | #else |
45 | 45 | ||
46 | // Running QT on a X86 linux box | 46 | // Running QT on a X86 linux box |
47 | #define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf" | 47 | #define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf" |
48 | #define ROOT "/home/andy/projects/aqpkg/aqpkg/data/root" | 48 | #define ROOT "/home/andy/projects/aqpkg/aqpkg/data/root" |
49 | #define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data/" | 49 | #define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data/" |
50 | 50 | ||
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | 53 | ||
54 | // Uncomment the below line to turn on memory checking | 54 | // Uncomment the below line to turn on memory checking |
55 | //#define _DEBUG 1 | 55 | //#define _DEBUG 1 |
56 | 56 | ||
57 | #ifndef __MEMFILE_C | 57 | #ifndef __MEMFILE_C |
58 | #ifdef _DEBUG | 58 | #ifdef _DEBUG |
59 | void * operator new(unsigned int size,const char *file, int line); | 59 | void * operator new(unsigned int size,const char *file, int line); |
60 | void operator delete(void *p); | 60 | void operator delete(void *p); |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | #ifdef _DEBUG | 63 | #ifdef _DEBUG |
64 | #define DEBUG_NEW new(__FILE__, __LINE__) | 64 | #define DEBUG_NEW new(__FILE__, __LINE__) |
65 | //#define DEBUG_NEW new | 65 | //#define DEBUG_NEW new |
66 | #else | 66 | #else |
67 | #define DEBUG_NEW new | 67 | #define DEBUG_NEW new |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | #define new DEBUG_NEW | 70 | #define new DEBUG_NEW |
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | 73 | ||
74 | void AddTrack(long addr, long asize, const char *fname, long lnum); | 74 | void AddTrack(long addr, long asize, const char *fname, long lnum); |
75 | void RemoveTrack(long addr); | 75 | void RemoveTrack(long addr); |
76 | void DumpUnfreed(); | 76 | void DumpUnfreed(); |
77 | 77 | ||
78 | #endif | 78 | #endif |