summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-04 12:21:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-04 12:21:36 +0000
commit7212f839961d129cd0ae5e62394f07041dce0558 (patch)
tree8e7a4336a9989677759d9e9c88c60577dc23f723 /uisimulator
parentc8b6119b38739a10c5e450c6fe37d2f9101341c8 (diff)
downloadrockbox-7212f839961d129cd0ae5e62394f07041dce0558.tar.gz
rockbox-7212f839961d129cd0ae5e62394f07041dce0558.zip
funny preprocessor tricks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@420 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/chardef.h25
-rw-r--r--uisimulator/x11/charundef.h22
2 files changed, 47 insertions, 0 deletions
diff --git a/uisimulator/x11/chardef.h b/uisimulator/x11/chardef.h
new file mode 100644
index 0000000000..f85f422eec
--- /dev/null
+++ b/uisimulator/x11/chardef.h
@@ -0,0 +1,25 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20/* When we're simulating the charcell LCDs we still use these functions
21 to do bitmap stuff so then we need to re-define them slightly so that
22 the names don't collide */
23#define lcd_clear_display sim_lcd_clear_display
24#define lcd_puts sim_lcd_puts
25#define lcd_bitmap sim_lcd_bitmap
diff --git a/uisimulator/x11/charundef.h b/uisimulator/x11/charundef.h
new file mode 100644
index 0000000000..1436831d8e
--- /dev/null
+++ b/uisimulator/x11/charundef.h
@@ -0,0 +1,22 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#undef lcd_clear_display
21#undef lcd_puts
22#undef lcd_bitmap