From 7ebbb1a62355c2819caa42e28b081eff027b336d Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sat, 14 Jan 2012 02:05:54 +0100 Subject: [PATCH] win32: fix compilation after the last commit --- project/libcec.vcxproj | 2 ++ project/libcec.vcxproj.filters | 27 ++++++++++++++++++--------- project/testclient.vcxproj | 2 ++ project/testclient.vcxproj.filters | 6 ++++++ src/lib/platform/posix/pthreads.h | 4 ++-- src/lib/platform/windows/os_windows.h | 2 +- 6 files changed, 31 insertions(+), 12 deletions(-) diff --git a/project/libcec.vcxproj b/project/libcec.vcxproj index 52e0d6d..d1a8ea0 100644 --- a/project/libcec.vcxproj +++ b/project/libcec.vcxproj @@ -31,6 +31,7 @@ + @@ -60,6 +61,7 @@ + diff --git a/project/libcec.vcxproj.filters b/project/libcec.vcxproj.filters index ea390ca..6eb8310 100644 --- a/project/libcec.vcxproj.filters +++ b/project/libcec.vcxproj.filters @@ -16,6 +16,9 @@ {bfc43a58-636d-4c1a-b191-486cb8509c7c} + + {61b13ee2-8a5b-4f05-9796-08138ee6ebc1} + @@ -49,15 +52,6 @@ platform - - platform - - - platform - - - platform - exports @@ -101,6 +95,18 @@ devices + + platform + + + platform\pthread_win32 + + + platform\pthread_win32 + + + platform\pthread_win32 + @@ -151,6 +157,9 @@ devices + + platform + diff --git a/project/testclient.vcxproj b/project/testclient.vcxproj index 7019b2f..3397574 100644 --- a/project/testclient.vcxproj +++ b/project/testclient.vcxproj @@ -93,12 +93,14 @@ + + diff --git a/project/testclient.vcxproj.filters b/project/testclient.vcxproj.filters index 51b96b9..4dcb38c 100644 --- a/project/testclient.vcxproj.filters +++ b/project/testclient.vcxproj.filters @@ -36,6 +36,9 @@ Header Files + + Header Files + @@ -47,6 +50,9 @@ Source Files + + Source Files + diff --git a/src/lib/platform/posix/pthreads.h b/src/lib/platform/posix/pthreads.h index e09945a..b39c1e9 100644 --- a/src/lib/platform/posix/pthreads.h +++ b/src/lib/platform/posix/pthreads.h @@ -68,8 +68,8 @@ namespace CEC class CThread : public IThread { public: - CThread(void); - virtual ~CThread(void); + CThread(void) { }; + virtual ~CThread(void) { }; virtual bool CreateThread(bool bWait = true); virtual bool StopThread(bool bWaitForExit = true); diff --git a/src/lib/platform/windows/os_windows.h b/src/lib/platform/windows/os_windows.h index b35a891..90cc75e 100644 --- a/src/lib/platform/windows/os_windows.h +++ b/src/lib/platform/windows/os_windows.h @@ -26,7 +26,7 @@ #if defined(_WIN32) #include "../pthread_win32/pthread.h" -#include "../pthreads.h" +#include "../posix/pthreads.h" #endif #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 -- 2.34.1