From 737ae063816c9c5a554653f8ad9474e706b0f221 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 13 Apr 2016 12:26:04 +0000 Subject: Fix platform specific compilation errors. src/Fl_lock.cxx: remove static keyword (Cygwin). FL/platform_types.h: __int64 is MS VC only, use int instead. Todo: the latter fixes a compilation error on Windows 64-bit platforms (MinGW and/or Cygwin). FL_SOCKET needs an update anyway (see comment). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_lock.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Fl_lock.cxx b/src/Fl_lock.cxx index 5f1b79f41..da30a61e6 100644 --- a/src/Fl_lock.cxx +++ b/src/Fl_lock.cxx @@ -400,10 +400,10 @@ void lock_ring() { #else -static void Fl_Posix_System_Driver::awake(void*) {} -static int Fl_Posix_System_Driver::lock() { return 1; } -static void Fl_Posix_System_Driver::unlock() {} -static void* Fl_Posix_System_Driver::thread_message() { return NULL; } +void Fl_Posix_System_Driver::awake(void*) {} +int Fl_Posix_System_Driver::lock() { return 1; } +void Fl_Posix_System_Driver::unlock() {} +void* Fl_Posix_System_Driver::thread_message() { return NULL; } #endif // HAVE_PTHREAD -- cgit v1.2.3