summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/global.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/global.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/global.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/aqpkg/global.h b/noncore/settings/aqpkg/global.h
index be3ede4..4df2f15 100644
--- a/noncore/settings/aqpkg/global.h
+++ b/noncore/settings/aqpkg/global.h
@@ -11,51 +11,51 @@
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_DIR "/home/andy/projects/aqpkg/aqpkg/data"
39#define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf" 38#define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf"
40#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/"
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
59void * operator new(unsigned int size,const char *file, int line); 59void * operator new(unsigned int size,const char *file, int line);
60void operator delete(void *p); 60void operator delete(void *p);
61#endif 61#endif