summaryrefslogtreecommitdiff
path: root/msvc_extra_headers
diff options
context:
space:
mode:
Diffstat (limited to 'msvc_extra_headers')
-rw-r--r--msvc_extra_headers/ardourext/misc.h.input1
-rw-r--r--msvc_extra_headers/ardourext/sys/targetsxs.h.input2
2 files changed, 2 insertions, 1 deletions
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