From fd8808d7b8c9ab095188128883b0d9011ea8e080 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 13 Oct 2024 11:39:48 +0100 Subject: [PATCH] Minor declaration issue that upsets MSVC/c++17 --- libs/pbd/pbd/msvc_pbd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/pbd/msvc_pbd.h b/libs/pbd/pbd/msvc_pbd.h index b4ad77363f..ed52b55b0a 100644 --- a/libs/pbd/pbd/msvc_pbd.h +++ b/libs/pbd/pbd/msvc_pbd.h @@ -176,7 +176,7 @@ typedef unsigned int nfds_t; extern "C" { #endif /* __cplusplus */ -LIBPBD_API int __cdecl gettimeofday(struct timeval *__restrict tv, __timezone_ptr_t tz); +LIBPBD_API int __cdecl gettimeofday(struct timeval *__restrict tv, __timezone_ptr_t tz) __THROW; LIBPBD_API ssize_t PBD_APICALLTYPE pread(int handle, void *buf, size_t nbytes, off_t offset); LIBPBD_API ssize_t PBD_APICALLTYPE pwrite(int handle, const void *buf, size_t nbytes, off_t offset);