undefine these functions for now but in the long run we should probably rename them

svn-id: r9231
This commit is contained in:
Jonathan Gray 2003-07-28 07:31:14 +00:00
parent a05c4bda0f
commit b17e45c9bc
2 changed files with 12 additions and 6 deletions

View File

@ -1612,8 +1612,19 @@ extern int32 IsFxOpen(int32 id);
extern int32 SetFxVolumePan(int32 id, uint8 vol, int8 pan);
extern int32 SetFxIdVolume(int32 id, uint8 vol);
#ifdef WIN32
#undef timeGetTime
#undef VirtualUnlock
#undef GlobalMemoryStatus
#undef SetFileAttributes
#undef GetCurrentDirectory
#undef GetVolumeInformation
#undef _mkdir
#undef GetModuleFileName
#endif
#ifndef WIN32
//-----------------------------------------------------------------------------
// Misc functions - from misc.cpp
//-----------------------------------------------------------------------------
@ -1626,7 +1637,6 @@ extern void GetCurrentDirectory(uint32 max, char* path);
extern int32 GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint8 *, DWORD *dwMaxCompLength, DWORD *dwFSFlags, uint8 *, uint32 a);
extern void _mkdir(const char *pathname);
extern void GetModuleFileName(void *module, char *destStr, uint32 maxLen);
#endif
//-----------------------------------------------------------------------------
//Macro for calling error handler with source filename and line.

View File

@ -21,11 +21,9 @@
#include "driver96.h"
#include "../sword2.h"
#ifndef WIN32
uint32 timeGetTime(void) {
return g_bs2->_syst->get_msecs();
}
#endif
void VirtualUnlock(uint8 *free_memman, uint32 total_free_memory) {
warning("stub VirtualUnlock");
@ -54,12 +52,10 @@ int32 GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint8 *,
return 1;
}
#ifndef WIN32
// FIXME wrap different platform specific mkdir calls and actually do something
void _mkdir(const char *pathname) {
warning("stub _mkdir %s", pathname);
}
#endif
void GetModuleFileName(void *module, char *destStr, uint32 maxLen) {
warning("stub GetModuleFileName");