changeset 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 319e6c58ccb5
children d0295e735768
files mcabber/src/settings.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/settings.h	Fri Jul 08 22:33:37 2005 +0100
+++ b/mcabber/src/settings.h	Sat Jul 09 09:41:31 2005 +0100
@@ -3,6 +3,10 @@
 
 #include <glib.h>
 
+#ifndef	__USE_ISOC99
+# define isblank(c)  ((c) == 0x20 || (c) == 0x09)
+#endif
+
 #define SETTINGS_TYPE_OPTION    1
 #define SETTINGS_TYPE_ALIAS     2
 #define SETTINGS_TYPE_BINDING   3