wilde@146: #include "portpath.h" wilde@146: wilde@146: #include wilde@146: #include wilde@146: #include wilde@146: #include wilde@146: wilde@146: wilde@146: char * wilde@146: port_dirname(char *path) wilde@146: { wilde@146: #ifndef _WIN32 wilde@146: return dirname(path); wilde@146: #else wilde@146: fprintf(stderr, "Windows Suport missing!"); wilde@146: abort(); wilde@146: #endif wilde@146: wilde@146: } wilde@146: wilde@146: char * wilde@146: port_realpath(char *path) wilde@146: { wilde@146: #ifndef _WIN32 wilde@146: return realpath(path, NULL); wilde@146: #else wilde@146: fprintf(stderr, "Windows Suport missing!"); wilde@146: abort(); wilde@146: #endif wilde@146: }