Miscellaneous additions to 'msvc_extra_headers'
authorJohn Emmas <johne53@tiscali.co.uk>
Sun, 6 Oct 2013 10:01:25 +0000 (11:01 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Sun, 6 Oct 2013 10:01:25 +0000 (11:01 +0100)
msvc_extra_headers/ardourext/misc.h.input
msvc_extra_headers/ardourext/sys/targetsxs.h.input

index 63ce6c562c8cef006eb22c9ce92143c4698dfcae..e9e2c94b65508ea02a593b17c9a44ceae1bf9935 100644 (file)
@@ -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
index c81c8a363029218fe2e588510b1fd7d4a90f7d6f..d013c2b6bd72820e23f226e2335119ee2af547e8 100644 (file)
@@ -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