** cstring.c
*/
+/*
+ * Herbert 06/12/2000
+ * - use drive spec specials with OS2 like with WIN32
+ * - cstring_replaceAll () needed in cpplib.c
+ */
+
# include "lclintMacros.nf"
# include "basic.h"
# include "osd.h"
** Replaces all occurances of old in s with new.
*/
-# ifdef WIN32
+# if defined (WIN32) || defined (OS2)
void cstring_replaceAll (cstring s, char old, char snew)
{
return (strlen (c2) == 0);
}
-# ifdef WIN32
+# if defined (WIN32) || defined (OS2)
/*
** If one has a drive specification, but the other doesn't, skip it.
*/
return cstring_undefined;
}
+
+