[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Windows build
From: |
Bernhard Schelling |
Subject: |
Re: [fluid-dev] Windows build |
Date: |
Mon, 17 Sep 2007 16:12:50 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 |
Hi Again
There are a few changes which were required to make these builds possible.
In the DSP I added the files for aufile, dspfloat and removed strtok
which doesn't exist anymore but is still referenced in the DSP.
For the source itself a few changes were necessary for getting it built
under the standards incompatible VC6 compiler.
- changed some of the "#include "config.h"" to "#include
"fluidsynth_priv.h"" - obviously required on systems without HAVE_CONFIG_H
- removed all inline keywords (used for 4 static inline functions) - not
supported for non C++ C code in VC6
Oh, and I forgot... I also had to change the "long long" used in fluid_phase.h.
Maybe you meant that before with "After making a few changes to ... and some source
files" - but here's what I changed anyway:
Added directly on top of fluid_phase.h (only useful as long as 64 bit integers
are only used there):
#ifndef _WIN32
typedef long long signed64;
typedef unsigned long long unsigned64;
#else
typedef __int64 signed64;
typedef unsigned __int64 unsigned64;
#endif
And changed the 4 "unsigned long long" to "unsigned64"
That should be everything.
Bye,
Bernhard