diff options
Diffstat (limited to 'libidu/iduglobal.h')
-rw-r--r-- | libidu/iduglobal.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libidu/iduglobal.h b/libidu/iduglobal.h index fcddf63..5c0cc5b 100644 --- a/libidu/iduglobal.h +++ b/libidu/iduglobal.h @@ -2,7 +2,7 @@ #define _iduglobal_h /* iduglobal.h -- global definitions for libidu - Copyright (C) 1995, 1999, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 1995, 1999, 2005, 2007, 2009 Free Software Foundation, Inc. Written by Claudio Fontana <sick_soul@users.sourceforge.net> This program is free software; you can redistribute it and/or modify @@ -66,4 +66,12 @@ #define DOT_DOT_SLASH "..\\" #endif +#define STREQ(a, b) (strcmp (a, b) == 0) + +static inline char * +bad_cast (char const *s) +{ + return (char *) s; +} + #endif /* _iduglobal_h */ |