use BUILT_SOURCES to avoid listing client.cpp and server.cpp dependencies manually...
[libt2n] / examples / minimalistic-server.cpp
index 1b5e3a2..dde3843 100644 (file)
@@ -12,7 +12,9 @@
 
 using namespace std;
 
-LIBT2N_EXPORT_GROUP(example) string testfunc(const string& str) 
+LIBT2N_SET_DEFAULTGROUP(example);
+
+LIBT2N_EXPORT std::string testfunc(const string& str) 
 {
     string ret;
     if (str=="throw")