fix a naming conflict

This commit is contained in:
nhmall
2023-01-31 01:10:02 -05:00
parent ce0a4f60ca
commit 2c5bbdc0ed
2 changed files with 3 additions and 3 deletions

View File

@@ -67,10 +67,10 @@ windsound_soundeffect(char *desc, int32_t seid, int32_t volume)
* API PlaySound function with the SND_RESOURCE flag. Use files from * API PlaySound function with the SND_RESOURCE flag. Use files from
* the file system instead. */ * the file system instead. */
extern char *sounddir; /* in sounds.c, set in files.c */ extern char *sounddir; /* in sounds.c, set in files.c */
char *exedir; char *mingw_exedir;
if (!sounddir) { if (!sounddir) {
exedir = exepath(); exedir = mingw_exepath();
if (exedir) if (exedir)
if (strlen(exedir) < sizeof buf - 30) { if (strlen(exedir) < sizeof buf - 30) {
Strcpy(buf, exedir); Strcpy(buf, exedir);

View File

@@ -1085,7 +1085,7 @@ get_executable_path(void)
#ifdef __MINGW32__ #ifdef __MINGW32__
char * char *
exepath(void) mingw_exepath(void)
{ {
char *p = (char *) 0; char *p = (char *) 0;