Third time lucky with definition to remove warning about strdup()
This commit is contained in:
@ -29,5 +29,6 @@ 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 \
|
||||
..
|
||||
- msbuild HackRF.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
|
@ -30,11 +30,6 @@ 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
|
||||
|
||||
/* Stop MSVC complaining about strdup()
|
||||
* Sure, we could fix this another way if strdup() is ever deprecated
|
||||
*/
|
||||
#define _CRT_NONSTDC_NO_DEPRECATE
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
|
||||
|
Reference in New Issue
Block a user