when building for win32 define powf() as pow() due to symbol-conflicts in win32-libm
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1285 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
|
||||
#include "drumsynth.h"
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <cstring>
|
||||
@@ -34,6 +35,11 @@
|
||||
#include <stdio.h> //sscanf(), sprintf()
|
||||
#include <stdlib.h> //RAND_MAX
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
#define powf pow
|
||||
#endif
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define WORD __u16
|
||||
|
||||
Reference in New Issue
Block a user