Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv29098/src/util
Modified Files:
strutil.cpp
Log Message:
compilation fixes for non unicode
Index: strutil.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/strutil.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -b -u -2 -r1.121 -r1.122
--- strutil.cpp 12 Oct 2003 11:42:48 -0000 1.121
+++ strutil.cpp 12 Oct 2003 12:10:57 -0000 1.122
@@ -200,4 +200,5 @@
}
+#if wxUSE_UNICODE
wxChar *
strutil_strdup(const wxChar *in)
@@ -205,4 +206,13 @@
wxChar *cptr = new wxChar[strlen(in)+1];
wxStrcpy(cptr,in);
+ return cptr;
+}
+#endif
+
+char *
+strutil_strdup(const char *in)
+{
+ char *cptr = new char[strlen(in)+1];
+ strcpy(cptr,in);
return cptr;
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates