From: <bal...@us...> - 2004-02-11 22:39:07
|
Update of /cvsroot/gemrb/gemrb/gemrb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17560/gemrb/includes Modified Files: globals.h Log Message: Core.cpp / globals.h : - Added strndup() definitions for Win and FreeBSD Index: globals.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/includes/globals.h,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** globals.h 11 Feb 2004 21:06:40 -0000 1.29 --- globals.h 11 Feb 2004 22:34:31 -0000 1.30 *************** *** 83,86 **** --- 83,89 ---- GEM_EXPORT bool dir_exists(const char *path); GEM_EXPORT int strlench(const char *string, char ch); + #ifndef HAVE_STRNDUP + GEM_EXPORT char * strndup(const char * s, int l) + #endif #ifdef WIN32 |