comparison system/System.h @ 1216:c811991a5efa msvc2015_64

MSVC build fixes
author Chris Cannam
date Tue, 18 Oct 2016 14:03:55 +0100
parents 6b1af0f05f06
children 6b847a59d908
comparison
equal deleted inserted replaced
1208:fef49844b3f8 1216:c811991a5efa
56 56
57 #define DEFAULT_LADSPA_PATH "%ProgramFiles%\\LADSPA Plugins;%ProgramFiles%\\Audacity\\Plug-Ins" 57 #define DEFAULT_LADSPA_PATH "%ProgramFiles%\\LADSPA Plugins;%ProgramFiles%\\Audacity\\Plug-Ins"
58 #define DEFAULT_DSSI_PATH "%ProgramFiles%\\DSSI Plugins" 58 #define DEFAULT_DSSI_PATH "%ProgramFiles%\\DSSI Plugins"
59 59
60 #define getpid _getpid 60 #define getpid _getpid
61
62 #if defined(_MSC_VER)
63 #include <BaseTsd.h>
64 typedef SSIZE_T ssize_t;
65 #endif
61 66
62 extern "C" { 67 extern "C" {
63 /* usleep is now in mingw 68 /* usleep is now in mingw
64 void usleep(unsigned long usec); 69 void usleep(unsigned long usec);
65 */ 70 */