Minor tweaks to MSVC build (hopefully of little consequence)

This commit is contained in:
John Emmas 2013-08-26 17:50:17 +01:00
parent 9482702bdc
commit 060c56cc3f
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ extern "C" {
// This function is (hopefully) temporary and is placed here
// because 'g_usleep()' doesn't seem to work very well for glib-win32
void pbd_g_usleep (unsigned long microseconds);
// JE - let's see if we can do without this now! void pbd_g_usleep (unsigned long microseconds);
#ifdef __cplusplus
} /* extern "C" */

View File

@ -1,8 +1,8 @@
#ifndef _WINX_SYS_TIME_H_
#define _WINX_SYS_TIME_H_
//#include <features.h>
#include <WinSock2.h> // gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include <WinSock.h>
#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include <features.h> */
#include <WinSock2.h> /* gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include <WinSock.h> */
#ifdef _TIMEVAL_DEFINED
# define _STRUCT_TIMEVAL 1