diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-04 12:21:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-04 12:21:36 +0000 |
commit | 7212f839961d129cd0ae5e62394f07041dce0558 (patch) | |
tree | 8e7a4336a9989677759d9e9c88c60577dc23f723 | |
parent | c8b6119b38739a10c5e450c6fe37d2f9101341c8 (diff) |
funny preprocessor tricks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@420 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | uisimulator/x11/chardef.h | 25 | ||||
-rw-r--r-- | uisimulator/x11/charundef.h | 22 |
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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se> + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +/* When we're simulating the charcell LCDs we still use these functions + to do bitmap stuff so then we need to re-define them slightly so that + the names don't collide */ +#define lcd_clear_display sim_lcd_clear_display +#define lcd_puts sim_lcd_puts +#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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se> + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#undef lcd_clear_display +#undef lcd_puts +#undef lcd_bitmap |