Alexandre Julliard (@julliard) commented about libs/fluidsynth/src/utils/fluid_settings.c:
+ * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA + */ + +#include "fluid_sys.h" +#include "fluid_hash.h" +#include "fluid_synth.h" +#ifndef __WINE_PE_BUILD +#include "fluid_cmd.h" Using __WINE_PE_BUILD doesn't make sense, this is also used in non-PE builds.
For Windows-specific code you should use `#ifdef _WIN32`. For things that should be disabled on Wine you can simply comment them out. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3996#note_47993