fix a naming conflict
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user