summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-04-13 12:26:04 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-04-13 12:26:04 +0000
commit737ae063816c9c5a554653f8ad9474e706b0f221 (patch)
tree5e1ffda08c3313ac018b302eb93cdf56676bc31a /src
parent562d29bd7cd57d657cdfa6ea9ed23c8948224c1f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_lock.cxx8
1 files changed, 4 insertions, 4 deletions
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