From 7d78172abfd9b02bcb6809db3f7545e90dbe968d Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 6 Oct 2013 11:01:25 +0100 Subject: Miscellaneous additions to 'msvc_extra_headers' --- msvc_extra_headers/ardourext/misc.h.input | 1 + msvc_extra_headers/ardourext/sys/targetsxs.h.input | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'msvc_extra_headers') diff --git a/msvc_extra_headers/ardourext/misc.h.input b/msvc_extra_headers/ardourext/misc.h.input index 63ce6c562c..e9e2c94b65 100644 --- a/msvc_extra_headers/ardourext/misc.h.input +++ b/msvc_extra_headers/ardourext/misc.h.input @@ -63,6 +63,7 @@ #define getcwd _getcwd #define getpid _getpid #define snprintf _snprintf +#define random rand #define link ntfs_link #define unlink ntfs_unlink #define strcasecmp stricmp diff --git a/msvc_extra_headers/ardourext/sys/targetsxs.h.input b/msvc_extra_headers/ardourext/sys/targetsxs.h.input index c81c8a3630..d013c2b6bd 100644 --- a/msvc_extra_headers/ardourext/sys/targetsxs.h.input +++ b/msvc_extra_headers/ardourext/sys/targetsxs.h.input @@ -1,7 +1,7 @@ #ifndef _TARGETSXS_H_ #define _TARGETSXS_H_ -#pragma warning( disable : 4996 ) +#pragma warning( disable : 4250 4996 ) #ifndef LV2_SUPPORT #define LV2_SUPPORT 1 -- cgit v1.2.3