Changes to enable compilation on IOS.

parent 8910918e
......@@ -83,7 +83,7 @@ menubutton_t menubutton;
std::vector<information> info;
int secret;
const char * server;
char * server;
int port;
bool resetTimestepOnReload;
......
......@@ -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;
......
......@@ -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];
......
......@@ -4,6 +4,7 @@
/* Changes:
Rubn Jess Garca Hernndez
Fix missing initialization, lines 379, 482
*/
/*
# Copyright 2016-2018 Ruben Jesus Garcia Hernandez
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment