List:Commits« Previous MessageNext Message »
From:magnus.blaudd Date:September 20 2012 9:56am
Subject:bzr push into mysql-5.5-cluster-7.2 branch (magnus.blaudd:4001 to 4002)
View as plain text  
 4002 magnus.blaudd@stripped	2012-09-20
      ndb
       - Make at least one symbol in ndbclient exported on Windows to make
        sure that export lib is generated

    modified:
      storage/ndb/src/ndbclient_exports.cpp
 4001 magnus.blaudd@stripped	2012-09-20 [merge]
      Merge

    added:
      storage/ndb/src/ndbclient_link_test.cpp
    renamed:
      storage/ndb/src/dummy.cpp => storage/ndb/src/ndbclient_exports.cpp
    modified:
      storage/ndb/src/CMakeLists.txt
      storage/ndb/src/ndbjtie/CMakeLists.txt
      storage/ndb/test/src/CMakeLists.txt
      storage/ndb/src/ndbclient_exports.cpp
=== modified file 'storage/ndb/src/ndbclient_exports.cpp'
--- a/storage/ndb/src/ndbclient_exports.cpp	2012-05-09 12:44:49 +0000
+++ b/storage/ndb/src/ndbclient_exports.cpp	2012-09-20 09:45:58 +0000
@@ -31,6 +31,13 @@ extern "C" void ndb_usage(void);
 extern "C" void myRandom48Init(void);
 extern "C" void ndb_rand(void);
 
+#ifdef _MSC_VER
+/*
+  Make at least one symbol defined in ndbclient in order to force
+  generation of export lib 
+*/
+__declspec(dllexport)
+#endif
 void
 _ndbclient_exports(void)
 {

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.5-cluster-7.2 branch (magnus.blaudd:4001 to 4002) magnus.blaudd21 Sep