along with Lugaru. If not, see <http://www.gnu.org/licenses/>.
*/
-#if !PLATFORM_MACOSX
-
/**> HEADER FILES <**/
#include "MacCompatibility.h"
};
static AppTime g_appTime;
-
-void CopyCStringToPascal( const char* src, unsigned char dst[256])
-{
- int len = strlen( src);
- dst[ 0] = len;
- memcpy( dst + 1, src, len);
-}
-
-
-void CopyPascalStringToC( const unsigned char* src, char* dst)
-{
- int len = src[ 0];
- memcpy( dst, src + 1, len);
- dst[ len] = 0;
-}
-
-
AbsoluteTime UpTime()
{
__int64 counter;
static int locateCorrectCase(char *buf, bool makedirs)
{
int rc;
- char *ptr;
- char *prevptr;
+ char *ptr = buf;
- ptr = prevptr = buf;
while (ptr = strchr(ptr + 1, '/')) {
*ptr = '\0'; /* block this path section off */
rc = locateOneElement(buf);
return g_filename;
}
-
-#endif
-
-