diff --git a/NOMADVRLib/ConfigFile.cpp b/NOMADVRLib/ConfigFile.cpp index c776ea4b83d1f578317aaf136dc9a078e1425409..b40eda49bf7ba8bdee58c69d31c676d6d00d6306 100644 --- a/NOMADVRLib/ConfigFile.cpp +++ b/NOMADVRLib/ConfigFile.cpp @@ -83,7 +83,7 @@ menubutton_t menubutton; std::vector<information> info; int secret; -const char * server; +char * server; int port; bool resetTimestepOnReload; diff --git a/NOMADVRLib/ConfigFile.h b/NOMADVRLib/ConfigFile.h index 8c7fe0211cfe7e88a91a20a2647061b434c5da72..a26aec978f1767d0ffd6d55a3a361412dcb3716b 100644 --- a/NOMADVRLib/ConfigFile.h +++ b/NOMADVRLib/ConfigFile.h @@ -85,7 +85,7 @@ int loadConfigFile(const char * f); //for multiuser extern int secret; -extern const char * server; +extern char * server; extern int port; extern bool resetTimestepOnReload; diff --git a/NOMADVRLib/atoms.cpp b/NOMADVRLib/atoms.cpp index 25baead3f3ebb1959151e4032d515ba375833101..c941c050223febabd5091e2fc46af5bd17f1a44c 100644 --- a/NOMADVRLib/atoms.cpp +++ b/NOMADVRLib/atoms.cpp @@ -279,7 +279,7 @@ int readAtomsXYZ(const char *const file, int **numatoms, int *timesteps, float * { const char *myfile=nullptr; const char *webdownload="material.xyz"; -#if !defined(OCULUSMOBILE) && !defined(__ANDROID__) +#if !defined(OCULUSMOBILE) && !defined(__ANDROID__) && !defined(IOS) //add http support if (!strncmp(file, "http:", 5) || !strncmp(file, "https:", 6)) { char cmd[2048]; diff --git a/libs/rply/rply.c b/libs/rply/rply.c index 592b8d0f7c361ebaf13f06320e38a5fbed922335..13fcf23ea24b9207b5c595a59a69c6c30336f411 100644 --- a/libs/rply/rply.c +++ b/libs/rply/rply.c @@ -4,6 +4,7 @@ /* Changes: Rubén Jesús García Hernández Fix missing initialization, lines 379, 482 +*/ /* # Copyright 2016-2018 Ruben Jesus Garcia Hernandez