# Small change to juce\_PluginUtilities.cpp (for MinGW)

**URL:** https://forum.juce.com/t/small-change-to-juce-pluginutilities-cpp-for-mingw/11956
**Category:** Audio Plugins
**Created:** [November 29, 2013, 5:08pm UTC](https://forum.juce.com/t/small-change-to-juce-pluginutilities-cpp-for-mingw/11956 "2013-11-29T17:08:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rory](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rory/32/534_2.png) [@rory](https://forum.juce.com/u/rory)
#### Post date: [November 29, 2013, 5:08pm UTC](https://forum.juce.com/t/small-change-to-juce-pluginutilities-cpp-for-mingw/11956/1 "2013-11-29T17:08:23Z")

</div>

The '#if \_MSC\_VER's at the top of this file cause&nbsp;File::currentApplicationFile to return the host name and not that of the actual plugin when building with mingw. Changing them to the following fixes the issue. &nbsp;

#if&nbsp;\_MSC\_VER || JUCE\_MINGW

&nbsp;

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)
#### Post date: [November 30, 2013, 8:04pm UTC](https://forum.juce.com/t/small-change-to-juce-pluginutilities-cpp-for-mingw/11956/2 "2013-11-30T20:04:57Z")

</div>

Thanks - have updated that now.
