Added matlab support.

Modified some c and cpp code to help.
This commit is contained in:
Simon D. Levy
2014-09-15 18:27:38 -04:00
parent e3f41e3599
commit d25f5372f7
16 changed files with 1265 additions and 310 deletions

View File

@@ -17,8 +17,11 @@ You should have received a copy of the GNU Lesser General Public License
along with this code. If not, see <http:#www.gnu.org/licenses/>.
*/
#ifdef _MSC_VER
typedef __int64 int64_t; /* Define it from MSVC's internal type */
#define _USE_MATH_DEFINES
#include <math.h>
#else
#include <stdint.h> /* Use the C99 official header */
#endif