Try another work around for strdup()
This commit is contained in:
@ -29,6 +29,5 @@ build_script:
|
||||
-DPKG_CONFIG_EXECUTABLE="C:\pkg-config\bin\pkg-config.exe" \
|
||||
-DFFTW_INCLUDES=C:\fftw \
|
||||
-DFFTW_LIBRARIES=C:\fftw\libfftw3f-3.lib \
|
||||
-D_CRT_NONSTDC_NO_DEPRECATE=1 \
|
||||
..
|
||||
- msbuild HackRF.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
|
@ -30,6 +30,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSI
|
||||
#ifdef _WIN32
|
||||
/* Avoid redefinition of timespec from time.h (included by libusb.h) */
|
||||
#define HAVE_STRUCT_TIMESPEC 1
|
||||
#define strdup _strdup
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
|
||||
|
Reference in New Issue
Block a user