"better" runtime name handling for non windows/linux systems
This commit is contained in:
parent
8922339050
commit
b5f45a61eb
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue