Commit fc5e867a authored by jan.koester's avatar jan.koester
Browse files

added fpic

include string in gameinfo header
parent aa9e4281
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ add_library(gameinfoplus SHARED ${hldsviewsrc})

target_link_libraries(gameinfoplus netplus)

target_compile_options(gameinfoplus PUBLIC "-fPIC")

install( TARGETS
    gameinfoplus
    DESTINATION
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*******************************************************************************/

#include <string>

class GameInfoData{
public:
    int         Port;
+2 −2
Original line number Diff line number Diff line
@@ -48,8 +48,8 @@ HldsView::HldsView(const char *addr,int port){
}

HldsView::~HldsView(){
    delete clientSocket;
    delete serverSocket;
    // delete clientSocket;
    //delete serverSocket;
}

HldsView::HldsView(const HldsView &view){