comparison mcabber/src/settings.h @ 292:96917f04c841

Define isblank() when C99 is not used
author Mikael Berthe <mikael@lilotux.net>
date Sat, 09 Jul 2005 09:41:31 +0100
parents 1eea0fa0955e
children 871e53769084
comparison
equal deleted inserted replaced
291:319e6c58ccb5 292:96917f04c841
1 #ifndef __SETTINGS_H__ 1 #ifndef __SETTINGS_H__
2 #define __SETTINGS_H__ 1 2 #define __SETTINGS_H__ 1
3 3
4 #include <glib.h> 4 #include <glib.h>
5
6 #ifndef __USE_ISOC99
7 # define isblank(c) ((c) == 0x20 || (c) == 0x09)
8 #endif
5 9
6 #define SETTINGS_TYPE_OPTION 1 10 #define SETTINGS_TYPE_OPTION 1
7 #define SETTINGS_TYPE_ALIAS 2 11 #define SETTINGS_TYPE_ALIAS 2
8 #define SETTINGS_TYPE_BINDING 3 12 #define SETTINGS_TYPE_BINDING 3
9 13