List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:November 17 2010 10:20am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4016)
View as plain text  
#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped

 4016 Magnus Blåudd	2010-11-17
      ndb
       - include sys/locking.h on Windows to get defines for _LK_NBLCK, LK_UNLCK
       and _LK_LOCK

    modified:
      storage/ndb/src/common/portlib/ndb_daemon.cc
=== modified file 'storage/ndb/src/common/portlib/ndb_daemon.cc'
--- a/storage/ndb/src/common/portlib/ndb_daemon.cc	2010-06-17 12:28:52 +0000
+++ b/storage/ndb/src/common/portlib/ndb_daemon.cc	2010-11-17 10:20:39 +0000
@@ -222,6 +222,8 @@ int ndb_daemon_init(int argc, char** arg
 
 #ifdef _WIN32
 
+#include <sys/locking.h>
+
 #define F_TLOCK _LK_NBLCK
 #define F_ULOCK _LK_UNLCK
 #define F_LOCK  _LK_LOCK

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20101117102039-1s257o65kdjknhzn.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4016) Magnus Blåudd17 Nov