"better" runtime name handling for non windows/linux systems

This commit is contained in:
Víctor Román Archidona 2014-07-29 09:12:22 +02:00
parent 8922339050
commit b5f45a61eb

View file

@ -75,12 +75,14 @@ int main(int argc, char *argv[])
noexe=0; noexe=0;
/* Sistemas */ /* Sistemas */
#ifdef _WIN32 #if defined(_WIN32)
strcpy(sistema,"win32"); strcpy(sistema,"win32");
#endif #elif defined(__linux__)
#ifdef __linux__
strcpy(sistema,"linux"); strcpy(sistema,"linux");
#elif defined(__APPLE__)
strcpy(sistema, "osx");
#else
strcpy(sistema, "unknown");
#endif #endif
ini=iniparser_load("ediv.cfg"); ini=iniparser_load("ediv.cfg");